Jump to content

Archived

This topic is now archived and is closed to further replies.

Miguel Nunes

mysql_fetch_object question

Recommended Posts

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

Is this valid?


[code]function test ( $VALUE )
{

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

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

}[/code]

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

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.