If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed.
Post a reply to the thread: php mysql query results to array foreach?
Click here to log in
In what corner do we have Search box?
You may choose an icon for your message from this list
Will turn www.example.com into [URL]http://www.example.com[/URL].
You may rate this thread from 1-star (Terrible) to 5-stars (Excellent) if you wish to do so.
php mysql query results to array foreach? Really need help with a php coded mysql query. Basically like this--- Link = localhost, user, password query = SELECT * FROM posts Now I need to results to go into an array or something so I can use a foreach to print: <tr> <td>$displayname says, $post</td> </tr> How would the foreach look? Really stuck...
php mysql query results to array foreach?
Forum Rules