Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

MySQL R40 Problem

$
0
0
Help me pls!
I'm still learning this MySQL!
Here is my connection:
PHP Code:

sqlll mysql_connect("127.0.0.1""root""""sa-mp"); 

Here is my code:
PHP Code:

new query[256];
    
format(querysizeof(query), "INSERT INTO `houses`(`ID`, `Owner`, `Price`, `X`, `Y`, `Z`, `World`, `X2`, `Y2`, `Z2`, `A2`, `Int:X`, `Int:Y`, `Int:Z`, `Int:X2`, `Int:Y2`, `Int:Z2`, `Int:A2`, `Interior`, `Spawn:X`, `Spawn:Y`, `Spawn:Z`, `Spawn:A`, `Status`) VALUES (%d, %s, %d, %f, %f, %f, %d, %f, %f, %f, %f, %f, %f, %f, %f, %f, %f, %f, %d, %f, %f, %f, %f, %d)",
    
hHouseInfo[h][hOwner], HouseInfo[h][hPrice], HouseInfo[h][hX], HouseInfo[hY], HouseInfo[h][hZ]);
    
mysql_query(sqlllquery); 

So the connection is tested and it works, but why there is nothing when I insert this values?
What I have to do before inserting this values? Please help me, +1 REP!

Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>