Jump to content

help modify a code


darkdrops

Recommended Posts

need help with a  code

i have placed a image instead of a button.

but when i click on it it not redirekt to the page its supose to go

anyone have the answer for this?

excuse my bad english:)

<td>
<select name=\"upgrade$membership[id]\">
";
for($x=0; $x<count($tpackages); $x++) {
$temp_price=($tpackages[$x]*$membership['price']);
$includes[content].="<option value=\"".$tpackages[$x]."\">".($tpackages[$x])." ".
iif($membership[time_type]=="D","Day").
iif($membership[time_type]=="W","Week").
iif($membership[time_type]=="M","Month").
iif($membership[time_type]=="Y","Year").
iif($membership[time_type]=="L","Lifetime").
" Membership - $cursym $temp_price";
}
$includes[content].="
</select>
</td>
<td><input type=\"image\" src=\"images/paypal.png\" onclick=\"buyupgrade($membership[id],document.form.upgrade$membership[id].value)\" value=\"Buy Now!\"></td>
Link to comment
https://forums.phpfreaks.com/topic/276139-help-modify-a-code/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.