This is my first time posting here. I have a project that requires me to alter the following script.
Code: Select all
<?php
$_url = "https://interneka.com/affiliate/WIDLink.php?WID=489&TotalCost=100.00&OrderID=test9999&AID=18888";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,$_url);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
curl_exec ($ch);
curl_close ($ch);
?>Here is my general understanding of how this is supposed to work.
I need the script to connect to our mySQL database table, select WID, TotalCost, OrderID, and AID for a particular record. Then I need to take the values returned by the select statement and populate the values into the $_url above so that the script https://interneka.com/affiliate/WIDLink.php reads the values.
Any help would be greatly appreciated.
Thanks!
D
Weirdan | Help us, help you. Please use
Code: Select all
andCode: Select all
tags where approriate when posting code. Read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url][/color]
Will do next time....sorry!