Page 1 of 1
experts only...site gen software
Posted: Tue Sep 13, 2011 1:29 am
by daijames
Hi I have site generation software which is ok, and it has custom code insertion points
I have tried a lot of combinations but I cannot find out how to insert a
to echo into the field 'Aff_ID'
if for example someone sends the URL
.com/php?Aff_ID=xxx
well here goes, the complete code is rather long and i cant post it here, so it is at
http://holaid.com/dbq/affiliate_sales_add.php
Re: experts only...site gen software
Posted: Tue Sep 13, 2011 2:13 am
by twinedev
Well, what happens if you add echo $_GET['Aff_ID']; ??
If you want us to look at the code on your site, you need to save a copy of it as affilliate_sales_add.php.txt so it displays the content (make sure to remove any login info for databases, etc)
-Greg
Re: experts only...site gen software
Posted: Tue Sep 13, 2011 2:29 am
by daijames
Hi Greg
nothing happens or I get syntax errors, I have tried to add it in the hidden field Aff_Id value, think its the way the variables are set
anyway now posted to
http://www.holaid.com/dbq/affiliate_sales_add.php.txt
Regards from Sunny Lanzarote
Canary Islands
Re: experts only...site gen software
Posted: Tue Sep 13, 2011 4:16 am
by twinedev
Ok, we can see the code now, where are you wanting the Aff_ID to be displayed/included in the code?
Re: experts only...site gen software
Posted: Tue Sep 13, 2011 4:34 am
by daijames
I want it so that it automatically populates the field Aff_ID I have tried to code it in
Code: Select all
$cellvalue = "<input type=\"hidden\" name=\"add_fd18\" value=\"". qsreplace_html_quote(stripslashes($itemvalue)) ."\">";
but keep getting errors, so I guess the problem is I need it where they redefine the var from Aff_ID to "add_fd18"