Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
php error
Name: tyros Date: December 14, 2004 at 13:56:45 Pacific OS: xp CPU/Ram: 256mb
Comment:
i want to know whats my error in that
if($title != "" && $url != "" && $email != "" && $banner != "") //fields must not be blank
cause im getting this error :
Notice: Undefined variable: title in c:\inetpub\wwwroot\script\newuser.php on line 47
Name: Khalid Date: December 14, 2004 at 14:10:11 Pacific
Reply:
Apparently the if-statement is testing a variable that hasnt been created: $title The error isnt fatal (it is a notice, as you can see); that means that the script continues running.
0
Response Number 2
Name: FBI Agent Date: December 19, 2004 at 20:34:47 Pacific
Reply:
go like this.
if (!$title) {$title = "";};
do that for all of the variables and then you wont get the error
Summary: Hey guys another PHP question, I created a contact document that works fine on other sites that I have done but on this particular site it isnt working, I keep getting this error: Warning: mail(): SMT...
Summary: i just started hosting a web server from my house to learn php, because of my other webhost being hacked and offline now. so i used to use this command $PATH and it worked fine, now it displays an err...
Summary: I get this error message: Warning: mail() expects at most 5 parameters, 11 given in I know what it means but how do you get a form with more than 5 parameters to be emailed? Thanks Ian ...