elso
06-08-2004, 03:21 PM
Hello
I am new to PHP. I am trying to add a few "print" lines in a php file.
print "<form name=selectform><input type=\"hidden\" name=\"selectmenu\" value=$url".$_FILES['img1']['name']."">";
print "<input type=button value=\"Item Select Item\" onClick=\"sendValue(this.form.selectmenu);\">";
print "</form>";
I am getting a syntax error as follows:
Parse error: parse error, unexpected '<' in /home/elsowceo/public_html/customer/upload/do_upload.php on line 130
This is line 130
print "<input type=button value=\"Item Select Item\" onClick=\"sendValue(this.form.selectmenu);\">";
Can someone point out what I am missing here?
Thank you
Nelson Quimby
I am new to PHP. I am trying to add a few "print" lines in a php file.
print "<form name=selectform><input type=\"hidden\" name=\"selectmenu\" value=$url".$_FILES['img1']['name']."">";
print "<input type=button value=\"Item Select Item\" onClick=\"sendValue(this.form.selectmenu);\">";
print "</form>";
I am getting a syntax error as follows:
Parse error: parse error, unexpected '<' in /home/elsowceo/public_html/customer/upload/do_upload.php on line 130
This is line 130
print "<input type=button value=\"Item Select Item\" onClick=\"sendValue(this.form.selectmenu);\">";
Can someone point out what I am missing here?
Thank you
Nelson Quimby