Jump to content


Photo

mysql_fetch_object question


  • Please log in to reply
No replies to this topic

#1 Miguel Nunes

Miguel Nunes
  • New Members
  • Pip
  • Newbie
  • 3 posts

Posted 28 April 2006 - 09:34 PM

Hello. I am new to this forum, I have a php question about the mysql_fetch_object function.

Is this valid?


function test ( $VALUE )
{

$sql = $DB->fetch_object("SELECT * FROM test");

if($sql->$VALUE == "")
{
...

}

"$sql->$VALUE", this is what i mean




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users