Jump to content

One last question about mysql.


whelpton

Recommended Posts

This is what I would suggest.  Look up some tutorials on MySQL and PHP, read how to connect to the DB and how to do SELECT statements.  Read how to get values from fields and then use PHP to compare them.

 

Look up the mysql_fetch command to get the results you need.

 

And Dez, that wont work because you are comparing the ID to 0, not the referused value.

This is what I would suggest. Look up some tutorials on MySQL and PHP, read how to connect to the DB and how to do SELECT statements. Read how to get values from fields and then use PHP to compare them.

 

Look up the mysql_fetch command to get the results you need.

 

And Dez, that wont work because you are comparing the ID to 0, not the referused value.

 

fixed

 

edit: ya whel.

Archived

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

×
×
  • Create New...

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.