Jump to content

[SOLVED] would this work?


sandrob57

Recommended Posts

Not that I know of, the proper syntax for a mysql query would be this:

 

$sql = mysql_query('SELECT `war_id`

                          FROM `fusion_war`

                          WHERE `a_id` = \''.$your_id.'\'

                          OR `d_id` = \''.$target_id.'\'

                          OR `d_id` = \''.$your_id.'\'

                          OR `a_id` = \''.$target_id.'\'');

 

You would then parse the result using mysql_result().

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.