Hello, I am stuck with the following.
Imagine that I don't know how many records AND columns I have in my table. How can I print/echo the whole table with all its records and columns?
Could someone help me? Code would be easy too.
Many thanks!
$result = mysql_query ("SELECT * FROM table"); while ($array = mysql_fetch_array ($result)) {
foreach ($array as $key => $value) {
print ($key . "=>" . $value . "<br />");
}