Click to See Complete Forum and Search --> : I need some help...


Zero-x252
10-31-2003, 11:05 PM
ok... i have attached the files i am having some problems debugging with....
the following errors are encountered and i am not sure how to fix them...:
#1. When you submit news you get a parse error on line three...
#2. When you submit a image, it doesnt upload...
#3. When you view the main page you get the mysql table names instead of the contents of them for the links to the images when you upload them with description etc...
Thanks in advance,
Zero--Head webmaster/owner of Grafitti Productions

PunkSktBrdr01
11-01-2003, 12:02 AM
Okay, for #1, you are missing the ending semicolon on line 2. For #2, I'm not sure what $_FILES['file']['name'] is there for, but try adding a semicolon after it. For #3, you forget the $ prefix for the variables. Hope that helps.

Zero-x252
11-01-2003, 02:33 PM
ok the $files['file' ] etc... is for php4.1+'s preferred upload method

PunkSktBrdr01
11-01-2003, 10:09 PM
Okay, I understand that, but why did you just put it there? It doesn't seem to be doing anything. Also, there's no semicolon after it.