What I do know-
How to connect
How to use 'include'
Basically how it functions
So you can see I'm not a genius. However this is my first real go at making a display table and I need some help.
From using phpmyadmin it tells me that the php for altering or inserting a new row is (without the connect)-
Code: Select all
$sql = 'INSERT INTO `file_info` ( `file_id` , `file_name` , `file_url` , `file_description` , `file_date_added` , `file_author` , `file_votes_total` , `file_rating_total` , `file_expected` , `file_author_email` ) VALUES ( \'\', \'test\', \'http://www.test.com\', \'This is a test.\', CURDATE( ) , \'Jack\', \'0\', \'0\', \'2003-12-15\', \'email@example.com\' ); ';
I understand this code at a fairly reasonable level. What i don't understand is how I do this from a form, and use the values as form data.
I don't need it done for me, but I would like someone to help me be on my way. After I figure this out, I'll need to display it. But I don't need that right now.