please help. i want pass variables from a php form to an online shopping payment systems

this is the url i have
https://usd.swreg.org/cgi-bin/s.cgi?s=133537&p=133537-2&q=1&v=0&d=0&Variable Pricing=<?php echo"$price";?>"
the url links the php form to the swreg.org but it doesn't transfer the price.
how can i modify the code to transfer the price obtained from the php form

Hard to tell if you do not show your code. Most likely $price does not get a value.

I think so you are expecting something like this:-
URL:-"HTTP://www.daniweb.com?thread=34"
So to read this URL you have touse it in this way:-

<? echo $_GET['thread']?>

Hope this is clear....

Not sure if it is a typo in your post but you URL isn't sending the price - it finishes at &Variable and also the $price variable should not be in speech marks. If this isn't a typo (I am not sure what value should be attached to Variable so I have removed for now) you should have

https://usd.swreg.org/cgi-bin/s.cgi?s=133537&p=133537-2&q=1&v=0&d=0&Pricing=<?php echo $price;?>"

thanks alot Junior Poster finally it has worked

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.