N/APosted on - 11/27/2012
I am using MySQL Query in filling PHP matrix, but it was unable to work properly.
Below is the code I used:
I'm not sure, but it seems that I am filling the array wrong.
Any help is appreciated.
Error on filling PHP Matrix on MySQL Query
Your code above does not have a script for posting or inserting into the php matrix. But if you want the matrix content to be displayed from a MySQL database, you will need to provide a connection path to where the database is located and where the contents are stored. A simple MySQL connection code is as shown below:
you can also checkn if there is an error and correct as uplinetype=’2’;