Thread: HTML / PHP Help
View Single Post
Old 09-17-2021, 06:33 PM  
longsack
Confirmed User
 
longsack's Avatar
 
Join Date: Aug 2005
Posts: 32
HTML / PHP Help

I have a form here is the nuts off it.

<tr><td>Date:</td><td><input type="text" name="date" size="8" value="{date}"> [<a href="javascript:void(0)" onclick="document.f1.date.value='{now}'">set to now</a>]</td></tr>
<tr><td>Category:</td><td><select name="category">{category_choices}</select></td></tr>
<tr><td>SubCategory:</td><td><select name="subcategory[]" multiple="multiple" size="25" style="height: 100%;">{subcategory_choices}</select></td></tr>
<tr><td>Filename:</td><td><input type="text" name="filename" size="40" value="{filename}"></td></tr>
<tr><td>Title:</td><td><input type="text" name="title" size="40" value="{title}"></td></tr>
<tr><td>Description:</td><td><textarea name="description" cols="60" rows="4">{description}</textarea></td></tr>
<tr><td>Keywords:</td><td><input type="text" name="keywords" size="40" value="{keywords}"></td></tr>
<tr><td>Model:</td><td><input type="text" name="custom1" size="40" value="{custom1}"></td></tr>
<tr><td>Paysite:</td><td><input type="text" name="custom2" size="40" value="{custom2}"></td></tr>



PHP is pulling some of the data from MySQL... I want to make it so that I can enter text AND / OR pre-select some keywords that I build.... in the following inputs
Title, Keywords, Model and, Paysite


For example I would go into the form and "Paysite" would have a drop down with Site1, Site2, Site3 and Site4....
or
Keywords I could input text or have a dropdown with pre-defined keyword sets "key1, key2, key3 ...", but I could also take away or add if needed via text....

is it possible?
I'm pulling all this from Video Manager, by wojfun (I cannot post URLs)... for CCBill (this is the script I'm using trying to modify). Any thoughts, thanks in advance!!!!
longsack is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote