When you declare a global variable in PHP, does it automatically add it to your MySQL database, or do you have to declare the variable in SQL?
I'm starting to learn PHP for Scratch SWF.
If not can someone show me how to add variables to your database?
Last edited by chanmanpartyman (2012-07-31 21:51:45)
Offline
No. PHP variables are different than MySQL fields. I suggest learning SQL and then learning how to interact between the two. You can learn both at W3Schools.
Offline
nickbrickmaster wrote:
No. PHP variables are different than MySQL fields. I suggest learning SQL and then learning how to interact between the two. You can learn both at W3Schools.
That's where I am learning PHP at. I guess I was too eager to work with MySQL. I'll suggest this to be closed.
Offline
Closed by request.

Offline