Jump to content


Photo

help w/input types and php


  • This topic is locked This topic is locked
1 reply to this topic

#1 Guest(old)

Guest(old)

    Junior Member

  • Members
  • 312 posts

Posted 09 December 2002 - 01:01 AM

hello all,
this is my array that i am using to retrieve a field:
$hol[$i]['gc_box']

this is the field that i am trying to put it in:
(i would like to replace "123" w/the value of my array)
echo "<input type=\"hidden\" name=\"item_name\" value=\"123\">\n";

i have tried several ways, but either paypal reject w/an error or my value is displayed with parts of the next line of code.

help ?
thanks.

#2 Guest(old)

Guest(old)

    Junior Member

  • Members
  • 312 posts

Posted 09 December 2002 - 01:43 AM

figured it out

echo "<input type=\"hidden\" name=\"item_name\" value=\"".$hol[$i]['gc_pid']."\">\n";

i didn't have it escaped enough i guess.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users