Re: What am i doing wrong? SQL Query in PHP

From: Date: Sun, 09 Mar 2003 14:05:32 +0000
Subject: Re: What am i doing wrong? SQL Query in PHP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-138856@lists.php.net to get a copy of this message
Hello, "Rahul.Brenda" <rahul_brenda@yahoo.com> wrote: > Ok i tried this.. and i didn't get any error listed.. > so it seems that the mySQL Query is not failing in > syntax or logic.. but it's not picking up any rows. > Which is really stupid because i used my phpmyadmin > and i ran this SQL Query there and even then i got my > results.. So, you still have a "blank" page? Check the resulting html source code and see how it looks like. Also, do you have "display_errors = On" in your php.ini? Btw, see if changing this: > > > echo(" $myrow[title] "); to this: echo $myrow["title"]; makes any difference. Just my 2 cents... - E __________________________________________________ Do You Yahoo!? Yahoo! BB is Broadband by Yahoo! http://bb.yahoo.co.jp/

« previous php.general (#138856) next »