Jump to content

Mysql problem HELP!!


JayJabber

Recommended Posts

Well im using paypal IPN im trying to get it to update something out of my database.

 

Heres the code

 

I think this is all you need

 

<?php

include('config.php')

?>

<?php

function updatePayments($data){

    global $link;

if(is_array($data)){

        $sql = mysql_query("INSERT INTO `serverb` WHERE name = 'Official' (gold)

VALUES ('yes')");

    }

}

?>

 

How do i get it to work?

 

 

Link to comment
https://forums.phpfreaks.com/topic/237185-mysql-problem-help/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.