mardi 13 mai 2014

Database design for uploading locations


Vote count:

0




i only have a single table for information about where to display the uploaded file.


file_id | file | file_location_folder|place 1| place 2|place 3|place 4|


lets say i would want a webpage admin to add new locations where the uploaded file will be displayed on the page, where place 1,2,3,4 can either be 1 or 0 and if 1 it will display content.


from textbox



<form action="" method="post">
<input type="textbox" name="database" placeholder="Add new title
where files can be uploaded to." />

<div >place 1 </div> <div >place 2 </div>


i dont know really how i should design this to make it possible. where (add a new title would resemble in something like place 5) so should i give the "admin" right to make a new field?



asked 1 min ago






Aucun commentaire:

Enregistrer un commentaire