Javajoob
07-14-2008, 08:23 AM
Hello there is a bit of an issue with updating a text input field displaying the title or caption of an image.
IMAGE
<text field of image title>
I need it to be identitfied in the database so I would make its value the id of the image. But I would also like the title in the text input so the user knows what they typed in last time. I was just wondering if there is a way of assigning the image id and current title to the text input comfortably.
<input type="text" value="$row['title'] OR $row['image_id']">
Thanks
IMAGE
<text field of image title>
I need it to be identitfied in the database so I would make its value the id of the image. But I would also like the title in the text input so the user knows what they typed in last time. I was just wondering if there is a way of assigning the image id and current title to the text input comfortably.
<input type="text" value="$row['title'] OR $row['image_id']">
Thanks