I needed a PHP/MySQL dynamic drop down and I have hired a coder who have done pretty much 1/2 ~ 3/4 of the job. Right now, through the admin page, I could add items to the database and the drop down, and can associate the options of the of the 4 drop downs with its precedent drop down option.
in the admin page, where I could input datas that will be linked to each vehicle according to its year/make/model and engine and an option where I could add more rows. In the user page, when the user selects the year/make/model/engine from the drop down menus, it will display the same table as in the admin page.
This is the installation file, which includes the database structure:
PHP Code:
<?
//including global constants, username, password, host and dbname
include("config.php");
?>
</table>
</body>
</html>
<?
if ($conn)
mysql_close($conn);
?>
and this is the user interface. As of now, once all fields are selected, nothing happens. I need a table with the exact structure and infos that were inputted in the admin page to show.
The way it works is, you input the year in the first field in the admin page - say it's 1999. From the first drop down, you select 1999, which was just input, and add a value which is supposed to be the make of the vehicle in the second field and hit submit - say you input Honda. From the second drop down you select Honda, and enter a value, which is the model in the third field and hit submit ... Now, after you enter the last value for the 4th field which is the engine size, the table will have to show up (which I have taken a screenshot of) and I will have the ability to enter value for each field, which will be stored in the same table row of its associated vehicle (year/make/model/engine). The same table structure will be displayed when users select the year/make/model/engine of his vehicle in the user interface index.php page.
If you could do the required job, kindly PM me with a quote and the time frame you need to accomplish this task.