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! Quote 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). Quote Link to comment https://forums.phpfreaks.com/topic/225989-simple-phpsql-problem/#findComment-1166663 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.