Code giving weird error
-
I have this block of codes that was running earlier fine but now giving strange error.
[insert_php] function g($pn) { $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "snthostings.com/billing/get_stocked_product.php?box=" . $pn); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $output = curl_exec($ch); curl_close($ch); return "/billing/cart.php?" . $output; } [/insert_php]
[insert_php]print(g('SnTRDP%20-%2010GB%20-%20NORMAL%20-%20BROWSER%20ANONYMITY'));[/insert_php]
Initially what this code used to do was fetch link from cart.php depending on what order is available, but now it is giving weird ” (Quotation marks) all over the page.
Whats wrong? I dont understand, please help
The page I need help with: [log in to see the link]
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Code giving weird error’ is closed to new replies.