Is is working great, but now the problem is that each time i have a column I got to add manually like retype the html code and the echo column name. I have another php page that when it $post something with a form, it automaticly creates a column in the paddlers table. So to print it, I have to manually add it (<th> xxxx</th> and echo "<td>" . $row['xxx'] . "</td>" .
I am a newbie so please when replying, write the code according to the name of my table
I would like to know if it is possible to have a code (and in which php page do i paste the code) so it can automaticly prints the newly column added without i haveing to do it manually.
If it is not possible, is there a way to print all the columns and the rows of a database in a table in php without having to manually edit a php page each time a column of the db is created or deleted?
Hello. To do what you are asking, you will need to use an array. Have a look at this: http://www.w3schools.com/php/php_arrays.asp
If you are starting out in php, I think you will understand this a little better than php's site.
If I have a chance, I will post back with an example for you.