Why does this show up as a "1"

Still appears as 1

wow seriously?

instead of

[php]
echo $row[‘notif’] or die(mysql_error());
[/php]

try
[php]
echo $row[‘notif’];
[/php]

that is because is no longer a mysql_error anymore

omg it works, thanks!
+1 Karma for you

glad that i could help

by the way we share the same host server XD

Really, lol. Dude, I’m sooo happy right now. I’ve been working on it for like 2 hours.

yeah haha check out my site and register wilson382.info

browse thru my procjest everything you will see is coded by me

LOL, you two should go on the stage… You sound like a comedy act like Abbott and Constello… LOL

So, Learner, What Wilson is saying is that you showed us the form code and you showed us the database’s update code. BUT, you have not shown us the code where the banner is displayed. Our guess is that you are not pulling the database data correctly. Show us the code where you pull the info from the database and display it.

I am sure we can solve this for you… Help us help you…

haha yeah took me long to help him because he was not providing the code where banner should appear

but this thread is solved already, the problem was he had:

[php]
echo $row[‘notif’] or die(mysql_error());
[/php]

instead of
[php]
echo $row[‘notif’] ;
[/php]

die(mysql_error()); this was giving him “1”

mark this thread solved!!

I edited out the passwords, even though gone now and marked it solved. Glad you resolved it!

Sponsor our Newsletter | Privacy Policy | Terms of Service