내 질문은 간단하다, WEBSITE1에서 모든 입력을 게시 ICAN 방법 당신이를 획득 어떻게 의미하는 경우은 내가 어떻게
<form action="www.site2.com/charge.php" method="post" name="charge">
<input type="hidden" name="cmd" value="_charge">
<input type="hidden" name="upload" value="1">
<input type="hidden" name="business" value="mywebsite email">
<input type="hidden" name="item_name'. $x .'" value="' . $product_name . '">
<input type="hidden" name="quantity_'. $x .'" value="' . $each_item['quantity '] . '">
<input type="hidden" name="weight_'. $x .'" value="' . $weightTotal . '">
<input type="image.gif" src="charge button image" name="submit" alt="Make charge!">
</form>
note: $X start from 1, and for each session $x= $i+1
당신에게
양식 –
문제점 : PHP 코드가 ''사이 여야합니다. 예를 들어'name = "item_name '. $ x.'value'는'name ="item_name php echo $ x?> "value'로 바뀌어야합니다. –
어쨌든 www.site2.com/charge. PHP는 모든 데이터 recive? – user3185201