paddy_fields Posted January 28, 2011 Share Posted January 28, 2011 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 More sharing options...
Maq Posted January 28, 2011 Share Posted January 28, 2011 If this is solved then mark as so (bottom left button). Link to comment https://forums.phpfreaks.com/topic/225989-simple-phpsql-problem/#findComment-1166663 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.