Hi Guys,
I'm looking at making a simple news script to allow me specify the following..
News title, subtitle, news text, and an image.
Now, making the form and the database isn't a problem, as bringing the data back out with a php script isn't either.
My problem lies in the upload form, at the moment i'm using the one page with an "INSERT INTO" command to enter the news data and that is working fine, but what code would i need to use to deal with the image upload, and to enter the location of the file into the database also?
The database table is called "news" and the columns are:
headline, subline, text, imageurl and ID also.
Any ideas?
Thanks so much 🙂
Dave