In Need Of PHP Help Please
I have a URL I'm trying to pull the ID and memberid from.
ezcapturepage.com/custom.php?id=17&thememberid=snotb4ll
I'm trying to pass the information over to this page.
ezcapturepage.com/otopage.php
I have the memberid working fine using a session I just cannot get the ID in the URL to also pull in so I can include it in a link on the otopage.
Here is the code I have so far.
<?PHP
session_start();
$thememberid = $_SESSION['thememberid'];
$pageid = $_SESSION['pageid'];
include "config.php";
$getpaypal = mysql_query("SELECT paypal_email FROM members WHERE userid='$thememberid'");
$getpaypalresult = mysql_fetch_array($getpaypal);
$commissionpaypalemail = $getpaypalresult["paypal_email"];
if($commissionpaypalemail=="") $commissionpaypalemail="snotb4ll@yahoo.com";
$getpageid = mysql_query("SELECT * FROM custompages WHERE id='$pageid'");
$getpageidresult = mysql_fetch_array($getpageid);
$thepageid = $getpageidresult["id"];
?>
-
peteJ -
Thanks
{{ DiscussionBoard.errors[9058771].message }} -
-
RuiGomes -
Thanks
{{ DiscussionBoard.errors[9060281].message }} -
-
burton247 -
Thanks
{{ DiscussionBoard.errors[9061668].message }} -
-
lluporini -
Thanks
{{ DiscussionBoard.errors[9062028].message }} -
-
jamesc1985 -
Thanks
{{ DiscussionBoard.errors[9065715].message }} -