Welcome Guest, Not a member yet? Register   Sign In
Updating record with one image...
#1

[eluser]Felipe Deitos[/eluser]
Hi, i am making a news system, i am already inserting the news this are the fields in db(id, date, title, content, image)
I am using the jquery validate to validate the form...
So when i am inserting if i have not selected a image the validate will tell me "Please insert image".
Until here everything is working fine.

But when i update this record all fields come with the record value...
The input title comes with the value "nice title"
How can i put the value in the file field?
Cuz if i dont put any value the jquery validade will tell "Please insert image", even if the image is in record...

This is confuse but i hope someone can help me...

Thanks!





Theme © iAndrew 2016 - Forum software by © MyBB