kproc
11-12-2006, 08:08 AM
below is code that I'm trying on my for action. I cannot get the variable to work at the end of the url. The problem is with the ' $row_get_buddy['first_name']
any ideas how to fix this
<form name="setgiver" method="post" action="<?php echo "../wishlist/codesetgiver.php?wish=$row_get_buddy['first_name']";?>">
I get this error
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in C:\Program Files\xampp\htdocs\familyclick\wishlist\buddywishlist.php on line 84
any ideas how to fix this
<form name="setgiver" method="post" action="<?php echo "../wishlist/codesetgiver.php?wish=$row_get_buddy['first_name']";?>">
I get this error
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in C:\Program Files\xampp\htdocs\familyclick\wishlist\buddywishlist.php on line 84