kvishnu_13 Posted June 13, 2007 Share Posted June 13, 2007 Well, the topic says it..will mysql_fetch_array() work, when returned result is a table? I have worked with codes where the returned result is a row(a one-dimensional array), but when it is table, a multi-dimensional array, how do I work with them? It will be really grateful if someone can explain the process of accessing the values of a returned table. Quote Link to comment https://forums.phpfreaks.com/topic/55354-will-mysql_fetch_array-work-when-returned-result-is-a-table/ Share on other sites More sharing options...
ToonMariner Posted June 13, 2007 Share Posted June 13, 2007 yes - it will fetch a row at a time you normally use it like so... while($row = mysql_fetch_assoc($res)) { // do stuff with each record set like fill-in a html table row etc etc. } Quote Link to comment https://forums.phpfreaks.com/topic/55354-will-mysql_fetch_array-work-when-returned-result-is-a-table/#findComment-273579 Share on other sites More sharing options...
kvishnu_13 Posted June 13, 2007 Author Share Posted June 13, 2007 Thanks a lot man Quote Link to comment https://forums.phpfreaks.com/topic/55354-will-mysql_fetch_array-work-when-returned-result-is-a-table/#findComment-273587 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.