39,320 Topics
| |
Can anyone help me with this? I need for select out the posts where type_lbiltank=1 from this SQL-sentence: $query = sprintf("SELECT address, name, email, type_lbiltank, type_lbilut, type_lbilborst, type_pbilselv, type_pbilauto, lat, tlf, lng, ( 3959 * acos( cos( radians('%s') ) * cos( radians( lat ) ) * cos( radians( lng ) … | |
hi all, i have registration script that registers user according their [B]user ID[/B]. if there more than one user id it returns false and says that this [B]user ID[/B] is taken. but if i submit different user ID and the same email address it accepts. how can i do that … | |
Hi, Below code gives me this error: "syntax error, unexpected" in line 5 <?php $to = "safiullah12@hotmail.com"; $subject = "test fname, email,phone,nn"; $Sender = $_POST["email"]; $message = Name: echo $_POST["fname"] . "\r\n". ///////////////////////line 5 Email Address: <?php echo $_POST["email"] . ?> "\r\n". Phone No: echo $_POST["phone"] . "\r\n" ; // … | |
Hey guys, I need some help in deciding whether Wordpress 3.1 is OK for full-time use. I realize it's in beta, but my mother's friend wants her static website turned into dynamic content via Wordpress. I don't mind 3.0, but I've heard really good things about 3.1, such as superior … | |
Okay, I am working on a facebook for my school, and I need help creating the signup/login/profile pages... Connecting to the database and stuff.. if someone could help me here or on MSN? [email snipped] Thanks, Really looking forward to it! | |
Hi, Below code is not working. Once I run it, it works fine. i expected "Thanks" but i get nothin. is not redirecting to thankyou.html <form name="myForm" action="/send_email4.php" method="post"> <input type="hidden" name="subject" value="Form Submission" /> <input type="hidden" name="redirect" value="thankyou.html" /> Name: <input type="text" name="fname" /> Email: <input type="text" name="email" /> … | |
This is common code and I've searched all of the forums and cannot find the answer to fix my problem. I created 3 pages: 1.) Login [CODE]<title>Login</title> </head> <? /** * Checks whether or not the given username is in the * database, if so it checks if the given … | |
The data C:\username\photo.jpg. I cannot insert to database successfully. C:usernamephoto.jpg will be inserted. What is the ways to insert such data? | |
Hi all, What I am trying to do is On "Page 1", user fills a form, and when he clicks on "Submit", a new page, say "Page 2" should get automatically created (in the same folder as index.php) in such a way that name of the page is say first_name.php … | |
.Hi guys i have been working on a picture viewer and what i want to do is put certain informations over the pictures that is retrieved from the database. i used the following code to retrieve images from the database: [CODE]<?php $host = 'localhost'; $user = ''; $pw = ''; … | |
| I have two pages, both extremely simple. One of the has some code on it which is literally an iframe with some basic CMS controls which allows the user to enter some text in it (by default it reads some pre-written text from a file and pastes it into the … |
Hi, I keep getting this error message. Warning: Cannot modify header information - headers already sent by (output started at /home1/lgmsevze/public_html/passion4anime/test/header.php:18) in /home1/lgmsevze/public_html/passion4anime/test/login2.php on line 31 Can sumone help me or explain to me on how to fix this issue.. I will post my codes here... Header: [CODE]<?php session_start(); if(isset($_SESSION['SESS_CHANGEID']) … | |
This has been solved. - The script is being restricted by a database field limitation. | |
Hello everyone, I would like to know how to create a PHP file to create the following database: Database name: "dbUsers." [CODE]Name Type Addition id int(10) Primary Key, AUTO_INCREMENT username varchar(16) Unique password char(16) email varchar(25)[/CODE] Thanks :) | |
hi everyone...im having an issue with collecting the data using HTTP_REFERER the problem is if i paste or type a referral url into the url bar it gives an error :- Message: Undefined index: HTTP_REFERER but if i click the link from another site it works perfect... i understand that … | |
hi guys.. pls help me out.. in my project , i am extracting the data from mysql database.. and presenting it in a table.. each time a new data is getting displayed row wise..dynamically.. how can i make that data to be get displayed column wise.. fr eg : i … | |
Hey guys i seen this script in a tutorial but he never explain how this script function $_SESSION how can i use this script in a project or in any situation. can anyone elaborate this code | |
Hi people! Im having an issue, and it is really bothering me. I want to get some content (only 2 lines) from another site and paste it into my own site. The problem is that the content on the other site keeps changing, and I need it to be auto … | |
Hi Friends..... I want to implement search indexing (like joomla) in my website. Earlier I develop search from database by "select" statement. But for whole website, I don't have any idea to do it............ Plzzzzzzz Help ??????/// I'll highly oblized to you............. | |
Hi, I'm still learning on how to upload and retrieve/display images. I have already have the idea on uploading an image onto the server. Well, I still have a problem when it comes to displaying the image which has been stored from the file server. I am actually using this … | |
[CODE]<?php $out = array(); $execute='./test.py'; $name="test"; exec("$execute $name",$out); foreach ($out as $value) { echo "$value<br />\n"; } ?>[/CODE] when I executing above code in local server its working.. But in hosted server, exec () function doesn't take the parameter variable '$name'. why? | |
Hey Guys, I know there has to be a way to automatically delete a row in a MySQL table on a specified date. I am just brain dead today :icon_confused: Let's just say I have CMS that I input posts and want one of the fields in the table to … | |
Hi All, Need help in uploading multiple files and renaming them. I want the file to rename to corrensponding text file while uploading. Below is the messy code on which I'm working. Regards BW HTML code [ICODE] <html> <head> <title>Multi</title> </head> <body bgcolor="#c2c2c2"> <form method=post action=upload.php enctype='multipart/form-data'><table border='1' width='400' cellspacing='0' … | |
I am new to php but have some scenarios in which I want to use it. Since I am new I know I need to do a lot of studying but for now, before I delve into it too much just to find out something isn't possible, I would like … | |
How I can run automated php page using crontab ? I have a server space, but dont know where and how I can execute my crontab command. I want to execute a php page say [url]http://www.servicesonclick.com/sentmail.php[/url] everyday at 12:00 AM. [QUOTE]00 00 * * * wget [url]http://www.servicesonclick.com/sentmail.php[/url] -q[/QUOTE] but where. … | |
Hi, I am getting below error. "syntax error, unexpected '"', expecting T_STRING or T_VARIABLE or T_NUM_STRING " 1. welcomecaller.php [CODE]<form action="send_email_works2.php" method="post"> Name: <input type="text" name="fname" /> Age: <input type="text" name="age" /> <input type="submit" /> </form> [/CODE] 2. send_email_works2.php [CODE]<?php $to = "safiullah12@hotmail.com"; $subject = "Brought to you by BenagaliList.com"; … | |
Hi Guys, I need help for in storing data from PHP from array in mysql. I'm very new to PHP/Mysql and have started learing it just few weeks back. I'm trying to build a website for myself. I'm having tough time trying to insert the data from Form in mysql. … | |
Hi I can successfully parse data from a form in one page to a table in another page, but I'm having problems displaying the data in the same page as the search form. Below I have set up a simple one field search and table in the same page. I … | |
Hello all, I'm trying to get through this tutorial, but running into a brick wall. I'm not very versed with PHP, so the error may be simple. I'm trying to call the data that the user inputted to the PHP form, but it's only displaying blank lines for me. I've … | |
i have following in my database ------------------------------------------------------------------------------------ [code=text] <table><tr><td><img src="default.jpg" width="160" style="border:1px #87925d solid;padding:2px;"></td> <td valign="top"><a href="mylinkhere" target="_blank"><strong> Vicky Bhai Part 4</strong></a><br><font size="1" color="#cccccc">http://www.mysite.com</font><br>Stage Funny Stuff</td></tr></table> [/code] ------------------------------------------------------------------------------------ if want to add a <a> anchor tag to only image before displaying it on page.................how can i do that with preg … |
The End.