Re: I am having trouble with php code

  • From: Ilian Andreev <ilian_andreev@xxxxxx>
  • To: programmingblind@xxxxxxxxxxxxx
  • Date: Mon, 22 Oct 2007 10:02:14 +0300 (EEST)

Two stupid mistakes... 

First:
variable names - you use $_FILES['uploaded']['name'] and then 
$_FILES['uploadedfile']['name'].

Second:
error in the echo function - when you use double quotes inside other double 
quotes the inner ones should be escaped like this:
echo "<a href=\"http://add-ons.gigacities.net/submitamod.html\";>";

-----------------------------------------------------------------
Крайна цел - Да оцелееш! www.survivor.btv.bg
__________
View the list's information and change your settings at 
//www.freelists.org/list/programmingblind

Other related posts: