jamkelvl Posted February 2, 2010 Share Posted February 2, 2010 Any ideas why this will work in phpmyadmin SELECT * FROM jobs WHERE assigned_to LIKE '%u%'; and <?php <?php $select = "SELECT * FROM jobs WHERE assigned_to like = '%u%'"; ?> does not? Link to comment https://forums.phpfreaks.com/topic/190717-php-sql/ Share on other sites More sharing options...
aebstract Posted February 2, 2010 Share Posted February 2, 2010 Well you added an = sign between the two. What doesn't work about it? You should add or DIE(mysql_error()); on to the end so that you can find any errors you have. Not to mention you apparently have <?php twice, back to back? Link to comment https://forums.phpfreaks.com/topic/190717-php-sql/#findComment-1005758 Share on other sites More sharing options...
jamkelvl Posted February 2, 2010 Author Share Posted February 2, 2010 LOL! I'm notorious for such -what seems like- useless posts... Thank-you for your time! Link to comment https://forums.phpfreaks.com/topic/190717-php-sql/#findComment-1005759 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.