Posted by Derek @ Blueyonder on 07/12/06 09:32
Hi
I am retrieving a fielname for a picture in PHP/MySQL and would like the
existing filename that is being retrieved from the database to be shown in a
file input. How do I do this please?
If I simply use a value statement nothing is shown even though I know the
variable holds the correct value.
The code I am using is
$picture1filename = $myrow[4] ;
echo " myrow[4] in form " . $myrow[4] . "<br>";
echo " picture1filename in form " . $picture1filename ;
echo ("<td colspan='2'><input name='picture1' type= 'file' size='80'
value= '$picture1filename'>");
The echos are just there to show that the correct value has been found.
Any help would be appreciated.
Many thanks
Derek
Navigation:
[Reply to this message]
|