Jump to content

scripts writes in database but no output in the page


phpegg

Recommended Posts

Dear friends,

I am using a freelancerscript for creating a freelancer reverse auction site. Everything is ok but the webmasterpage shows errors. in the deposit fund section, while pressing submit button produces no out put( shows only footer). But when i checked database it has written the amount in the tables. The expected result is the display of paypal payment page with the amount.

 

I am pasting the code portion .please help me. I am new to PHP

 

<Deposit Money</b></big>

<p>

<strong>Amount:</strong> <? echo $currencytype . '' . $currency; ?><input type="text" name="deposit2" maxlength="7" size="6">

<p>

<strong>Payment Method:</strong><br>

<?php

if ($deposit2checkout !== "" || $depositccurl !== "") {

echo '

<br><input type="radio" value="cc" name="dtype"> Credit Card';

if ($depositccper !== "" || $depositccfee !== "") {

echo ' <small>(cost: ' . $depositccper . '% + ' . $currencytype . '' . $currency . '' . $depositccfee . ')</small>';

}

}

if ($depositpaypal !== "") {

echo '

<br><input type="radio" value="paypal" name="dtype"> <a href="https://www.paypal.com/affil/pal=' . $ppemailaddr . '" target="_blank">PayPal</a>';

if ($depositppper !== "" || $depositppfee !== "") {

echo ' <small>(cost: ' . $depositppper . '% + ' . $currencytype . '' . $currency . '' . $depositppfee . ')</small>';

}

}

if ($depositmail !== "") {

echo '

<br><input type="radio" value="mail" name="dtype"> Regular Mail';

if ($depositmlfee !== "") {

echo ' <small>(cost: ' . $currencytype . '' . $currency. '' . $depositmlfee . ')</small>';

}

}

if ($depositother !== "") {

echo '

<p><a href="' . $siteurl . '/payment.php">Click here for other payment options...</a>';

}

?>

<p><input type="submit" value="Continue" name="submit">

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.