• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Updating record with one image...

[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...


Messages In This Thread
Updating record with one image... - by El Forum - 10-25-2012, 01:00 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.