how can i upload a php file to a relational database? need help quick.
what are your plans?
how to upload data to a relational database using PHP.
scenario need to make html website with incorporated database (external php file) linked to a mySQL relational database.
any help will be much appreciated.
thank you
Are you trying to store code in the database for some reason, or are you trying to build a PHP-based website? Or are you trying to build a content management system for your existing website?
thanks for the reply, and yes i'm trying to build a PHP-based website?
So why do you need to store php code inside of the database itself...?
the database consists of MySQL, i need php code to store and retrieve data from the database. the php code isn't in the database, it is needed for the database.
if u can help, thanks karl
Ok. Go to php.net and look up mysql_connect, mysql_query, and mysql_fetch_array syntax. Those are the functions you use in PHP to do a query of any type (including input, update, select, etc.)