PHP/SQL compare two table ID and view the name -
i making script our online game site, want compare result table tabl , view id name.
from i've show last characteridx
now problem part, comparing 2 tables
problm solved! alot!
try this:
$sql = 'select * '.$db_gam.'.dbo.cabal_character_table characteridx = '.$saint_owner; echo "sql= ", $sql; $query = mssql_query($sql);
this output sql command, can check if sql output , send database correct , expect be.
however, think error in fact using mssql_ , mysql_ next eachother:
make this:
$query = mssql_query('select * '.$db_gam.'.dbo.cabal_character_table characteridx = '.$saint_owner);
to start.
Comments
Post a Comment