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! Quote Link to comment 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.. Quote Link to comment Share on other sites More sharing options...
dachshund Posted March 9, 2010 Author Share Posted March 9, 2010 solved it! thanks anyway Quote Link to comment 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.