MySQL VS INI?
#1

So, I am expierenced in web development, PHP, MySQL, CSS, JS, all that. The question I had was if MySQL just uses normal comammands like "mysql_connect();" and "mysql_fetch_assoc" blah blah...

In php, I would do the following (after connected to DB)
PHP Code:
<?php
 $info 
mysql_query("SELECT * FROM users WHERE username = '$username'");
 
$row mysql_fetch_assoc($info);
 
$money $row['money'];
 
$loc $row['loc'];
?>
ETC. and then just set those variables to the player, but obviously it is different in PAWN. Is it a lot different or kinda similar? Cause I would love to use that instead cause then I could write my own UCP.
Reply


Messages In This Thread
MySQL VS INI? - by Nathan_Taylor - 28.02.2013, 15:56
Re: MySQL VS INI? - by Vince - 28.02.2013, 16:14
Re: MySQL VS INI? - by Nathan_Taylor - 28.02.2013, 16:17
Re: MySQL VS INI? - by Vince - 28.02.2013, 18:01
Re: MySQL VS INI? - by Nathan_Taylor - 28.02.2013, 18:07
Re: MySQL VS INI? - by Nathan_Taylor - 28.02.2013, 19:06
Re: MySQL VS INI? - by Yves - 28.02.2013, 19:09
Re: MySQL VS INI? - by Djole1337 - 28.02.2013, 19:16
Re: MySQL VS INI? - by Nathan_Taylor - 28.02.2013, 19:19
Re: MySQL VS INI? - by Djole1337 - 28.02.2013, 19:24

Forum Jump:


Users browsing this thread: 4 Guest(s)