I really need some help on this question
Some how I think cross referenceing two tables is my answer but Ive yet to figure it out for my purpose.
I have a table and the first field is 'ID'
can I make like a sub-entry table per line...
fields
ID ..... Color ..... Year ..... Seller
data
2 ...... Orange .. 2005 .... Private
454 .. Green .... 1999 .... Private
..
5000 etc
My website needs a form which will post data to a singular 'ID' the form will use mostly select option - form, eventually adding multiple image upload using the same form.
All uploading to MySQL..
My question is how can mutiple visitors post to one 'ID'
This would allow more than one instance recorded for a singular 'ID', the field 'ID' would need 1-10 sub-entries I guess..
#####
If my explaination sucks, I have got this idea where in each field the data when updated adds to the original data and could be comma delimited.. and I could use a query ????
SELECT * FROM mytable WHERE id LIKE '$page' LIMIT 0 , 10
$result = mysql_query($query) or die(mysql_error());
while ($row = mysql_fetch_array($result))
{
echo $row[id = 1];
echo "<br>";
echo $row[id = 2];
}
Thanks for any thoughts
-
GooD Day