[PHP] Re: Strange error in PHP/MySQL

2006-10-04 Thread Ivo F.A.C. Fokkema
On Sun, 01 Oct 2006 19:59:08 +0100, Deckard wrote: > Hello, > > I have this code: > > // insert new user in mysql user table > $sqlInsertUser = "INSERT INTO user (Host, User , Password , > Select_priv, Insert_priv, Update_priv, Delete_priv) VALUES ('$hostname', > '$mysql_username', '$mysql_pa

[PHP] Re: Strange error

2003-09-16 Thread rush
"Sid" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello everyone, > > Am I having a bad day or WHAT! I have exactly 5 lines of code as follows > what is the problem here. works fine at my localhost. rush -- http://www.templatetamer.com/ -- PHP General Mailing List (http://www.

[PHP] Re: strange error message when trying to start apache

2002-08-26 Thread Richard Lynch
>Hello again, so earlier I was trying to install >PHP-4.2.2 with Apache-2.0.40 and was having some sapi >problems. I then read that I might be better off >going with Apache-1.3.26. Well, I installed 1.3.26, >and then configured and installed php into apache as a >DSO. Everything appeared to go

[PHP] Re: strange error

2001-08-24 Thread Elias Santiago
Brack wrote: > if you have structure like > > if (isset(...)){ > ..; > } > elseif (isset()){ > } > else { > .. > ?> > > then you need to insert "}" before " > or if you use syntax > Correct, in part. The last ELSE has a starting {, but no ending }. It should go before the ?> not , that woul

RE: [PHP] Re: strange error

2001-08-23 Thread Dave
>if you have structure like > >if (isset(...)){ >...; >} [...] >?> > >you have to insert "endif;" >If you think you did it but still have an error, try to count your "if" >statements and "endif;" maybe something is missing. This is a matter of personal preference, but use formatting that is help

[PHP] Re: strange error

2001-08-23 Thread BRACK
if you have structure like then you need to insert "}" before " or if you use syntax you have to insert "endif;" If you think you did it but still have an error, try to count your "if" statements and "endif;" maybe something is missing. Youri -- PHP General Mailing List (http://www.php

[PHP] Re: strange error

2001-08-22 Thread Gijsbert te Riet
Hi Jeremy, > I get an error message which I can't figure out. > > Its a Parse error: on line 142 which is the last line of the page containing > absolutly no code. The last line of code is simply ..Did > anyone have a similar experience? Can anyone help me out please? I guess you haven't