dachshund Posted March 9, 2010 Share Posted March 9, 2010 anyone know what's wrong with this? $id is fine, that exists and echo's elsewhere normally. same with $s <?php $next = mysql_query("SELECT id FROM content WHERE id > $id AND live LIKE 0 AND section LIKE $s ORDER BY ASC LIMIT 1"); $result = mysql_fetch_array($next); echo $result; ?> thanks! Link to comment https://forums.phpfreaks.com/topic/194617-why-doesnt-this-work/ Share on other sites More sharing options...
Deoctor Posted March 9, 2010 Share Posted March 9, 2010 would be helpful if u post the error message here.. Link to comment https://forums.phpfreaks.com/topic/194617-why-doesnt-this-work/#findComment-1023544 Share on other sites More sharing options...
dachshund Posted March 9, 2010 Author Share Posted March 9, 2010 solved it! thanks anyway Link to comment https://forums.phpfreaks.com/topic/194617-why-doesnt-this-work/#findComment-1023546 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.