PayPall litle Fix pliz!

hi all i have problems with php script that i made, this script show items from sql db , and next to every item i put add to cart button, but when i click on that hi just get information from last raw of table… what do i need to do? becouse i need a information from raw that is selected.

[php] {
echo “

”;
echo “”. $row[‘Art’]. “”;
echo “”. $row[‘d’]. “”;
echo “”. $row[‘De’]. “”;
echo “”. $row[‘Lo’]. “”;
echo “”. $row[‘R’]. “”;
echo “”. $row[‘nt’]. “”;
echo “”. $row[‘Ln’]. “”;
echo “”. $row[‘sn’]. “”;
echo “”. $row[‘Fn’]. “”;
echo “”. $row[‘rdj’]. “”;
echo “”. $row[‘stanje’]. “”;
echo “”. $row[‘cena’]. “”;
echo “”. $row[‘artnr’]. “”;
echo ’ <form id="form_1" action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_self"

style=“margin:0;position:absolute;left:279px;top:1146px;width:220px;height:96px;”>




<input type=“hidden” name=“item_number” value="’ . $row[“artnr”] . '">





';
echo “

”;
}
echo “”;
}

mysql_close($db_con);
?>[/php]

[php]<input type=“hidden” name=“item_number” value="’ . $row[“artnr”] . '">[/php]

this value i every time i click only get me from last row of table, and there is also problem with pirst row of table becouse when i click add its not working only on frist row… if someone can help me THX

Sponsor our Newsletter | Privacy Policy | Terms of Service