Jump to content

simple php/sql problem


paddy_fields

Recommended Posts

SOLVED, sorry.

 

... but i can't work it out.

 

all i want to do is;

 

if ( $this_item exists within the table )

{

do a

}

else

{

do b

}

 

for example, $this_item = 'john', and i want the script to do (a) if he's in the table, or (b) if he isn't.

 

thank you!

 

Link to comment
https://forums.phpfreaks.com/topic/225989-simple-phpsql-problem/
Share on other sites

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.