Pikachu2000 Posted July 9, 2012 Share Posted July 9, 2012 Check out the LIMIT clause mysql_query mysql_fetch_array while Quote Link to comment Share on other sites More sharing options...
rubyarat2010 Posted July 9, 2012 Author Share Posted July 9, 2012 I think this is what i want but im not sure how to use it. while ($row = mysql_fetch_array($result, MYSQL_NUM)) { } Quote Link to comment Share on other sites More sharing options...
rubyarat2010 Posted July 9, 2012 Author Share Posted July 9, 2012 I have a table title | imagelink tv1 | v1 tv2 | v2 tv3 | v3 tv4 | v4 tv5 | v5 tv6 | v6 And i want to get each set of values ei 1-1 2-2 and set a varible to them $n1 = tv1 $im1 = v1 and so on to 6. Quote Link to comment Share on other sites More sharing options...
fenway Posted July 11, 2012 Share Posted July 11, 2012 Fifth relative to what? 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.