You are here: Existing file name « PHP Programming Language « IT news, forums, messages
Existing file name

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация