Devam Ediyor

506973 PHP Syntax help

I am trying to get a paypal form working and I cannot seem to find the right syntax. I am using a [url removed, login to view] file to store variable. I define some variable at the top of the config file and then want to use them within the $PayPal_Form variable. How can i do that?

top variable example:

$paypal_email = 'sales at [url removed, login to view]';

PayPal form:

$PayPal_Form = '<form method="post" target="_self" action="[url removed, login to view]">

<p align="center"><input type="hidden" name="cmd" value="_xclick">

<input type="hidden" name="business" value=".$paypal_email.">

<input type="hidden" name="item_name" value=".$directoryName">

<input type="hidden" name="item_number" value>

<input type="hidden" name="return" value="http://www.".$domain_name."/".$directoryName."/[url removed, login to view]">

<input type="hidden" name="amount" value=".$price2.">

<input type="hidden" name="currency_code" value="USD">

<input type="hidden" name="quantity" value="1">

<input type="hidden" name="shipping" value="0">

<input type="hidden" name="shipping2" value="0">

<input type="hidden" name="rm" value="2">

<input type="hidden" name="page_style" value=".$paypal_page_style">

<input type="hidden" name="notify_url" value="http://www.".$domain_name."/".$directory."/[url removed, login to view]">

<input type="image" name="I1" src=".$buynow_button_url.">


HOw do i put the $paypal_email in the line. I thought putting the .'s around it would work, it is putting the $PayPal_Form into my webpage, but the variables are not being substituted.

I just need a little syntax help.


Beceriler: Her şey Kabul, Perl, PHP

Daha fazlasını gör: how to get cgi, syntax, Rm, help center, input hidden can post, post form hidden, php post value, paypal php return, php action form, hidden form perl, action php, perl https post, php form action, php value post, php http https, form post hidden, form hidden post value, php post hidden, php webpage find, php form hidden, input business directory, need help usd, php https post, src php, webpage shipping

İşveren Hakkında:
( 40 değerlendirme ) Cabot, United States

Proje NO: #2252899