Menu
Hi I’m sure this is a simple question but I’m just getting my feet wet in PHP right now and I can’t seem to grasp how to get certain outputted sql variables to trim left by a certain amount of charctrs:
[CODE]$query=”SELECT * from table Order by user_id”;
$rt=mysql_query($query);
echo mysql_error();
while($nt=mysql_fetch_array($rt)){
echo “$nt[query1] $nt[query2]”;
}
Thanks.