On Wed, 15 Sep 2004 15:05:02 -0400, PHP Junkie <[EMAIL PROTECTED]> wrote: > I have a simple file upload form, which uploads without a problem. > Today I added the file_exists() function to my PHP code. And everything > stopped working. What am I doing wrong here: > > <?php > if($upload_file) { > $db = mysql_connect("localhost","usr","pwd"); > mysql_select_db("imsafm",$db); > $date = date("m-d-Y, D, H:i"); > $trauma = 'imsafm/$PHP_login/$img1_name';
Variables inside single quotes don't get evaluated. -- Greg Donald http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php