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_password',
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
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
Brack wrote:
if you have structure like
html
?php
if (isset(...)){
..;
}
elseif (isset()){
}
else {
..
?
/html
then you need to insert } before /html
or if you use syntax
Correct, in part. The last ELSE has a starting {, but no ending }.
It should go before the ? not /html,
if you have structure like
html
?php
if (isset(...)){
...;
}
elseif (isset()){
}
else {
...
?
/html
then you need to insert } before /html
or if you use syntax
html
?php
if (isset()):
...;
elseif (isset()):
...;
else:
...;
?
/html
you have to insert endif;
If you think you did it but still have
if you have structure like
html
?php
if (isset(...)){
...;
}
[...]
?
/html
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
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 /HTML..Did
anyone have a similar experience? Can anyone help me out please?
I guess you
7 matches
Mail list logo