pakenney38 Posted February 1, 2007 Share Posted February 1, 2007 Say I am retrieving values from something like this in a while loop: SELECT field1, field2, field3, field4 FROM table1, table2, table3, table4 order by submitdate; How can I get PHP to tell me what table it took the values from during the current iteration of the while loop? Link to comment https://forums.phpfreaks.com/topic/36650-get-table-name-for-table-being-searched-on-current-loop-iteration/ Share on other sites More sharing options...
pakenney38 Posted February 1, 2007 Author Share Posted February 1, 2007 Oh yeah, I am using MySQL for the database functions Sorry. Link to comment https://forums.phpfreaks.com/topic/36650-get-table-name-for-table-being-searched-on-current-loop-iteration/#findComment-174697 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.