0

..im new in PHP and and I want to know how to create html form that sends file(images) to phpmyadmin(database) consider that you have to choose the database first from the dropdown list of database.. then display it's table after choosen it.. please help..

here must be the sql flow.. from html form...

<select>
  <option value="DB1">DATABASE 1</option>
  <option value="DB2">DATABASE 2</option>
  <option value="DB3">DATABASE 3</option>
  <option value="DB4" selected>DATABASE 4</option>//selected
</select>

 ==next it will display after you choose one of database==

<select>
  <option value="table_1">table 1</option>
  <option value="table_2">table 2</option>
  <option value="table_3">table 3</option>
  <option value="table_4" selected>table 4</option>// selected
</select>


<submit>

this suppose to be insert to databse 4 table 4..

Edited by Dani: Code formatted

2
Contributors
3
Replies
22
Views
3 Years
Discussion Span
Last Post by markii.borabon
0

i have a simple upload form and i want to improve it in a way that i can easily categorize the upload process. wherein
I can choose the database and table first before clicking the submit form..

im developing small website wherein i have to upload many images that must be categorize.. for example: CATEGORY_MENS_DB -> Clothes_fashion_TABLE..

0

wherein i have to get the list of my database and list of its corresponding table.. and put it into select dropdown.. please help..

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.