• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

mysql_query is not working.

president vankk

Web Developer & AuraOT Owner
Joined
Jul 10, 2009
Messages
5,719
Solutions
9
Reaction score
339
Hi my dear friends,

I'm tring to use mysql_query like this
Code:
mysql_query("INSERT INTO billing (account_id, method, price, points, date) VALUES ('vankk1', '0', '20', '".time()."')");

It is suppost to insert into billing table the valus of the account_id, method, price, points and date, but it is not working, and does not give any kinda of error.
What I'm doing wrong?

Thanks.
 
Hi my dear friends,

I'm tring to use mysql_query like this
Code:
mysql_query("INSERT INTO billing (account_id, method, price, points, date) VALUES ('vankk1', '0', '20', '".time()."')");

It is suppost to insert into billing table the valus of the account_id, method, price, points and date, but it is not working, and does not give any kinda of error.
What I'm doing wrong?

Thanks.
``
 
Code:
mysql_query("INSERT INTO `billing` (`account_id`, `method`, `price`, `points`, `date`) VALUES (`'vankk1'`, `0`, `20`, `".time()."`)");

I think you just put numbers in like normal. You don't need params ', "
 
Back
Top