My first query should return a single result.
$query="select idtechnic from technic where idname='$technic' and setname='$set' and number='$number'";
I would like to use the result of the above query in a second query:
$result=mysql_query($query);
$row1=mysql_fetch_assoc($result)
$query1="select idtechnic, move from moves where idtechnic='$row1[0]' order by idmoves";
I also tried mysql_fetch_array($query) and mysql_result($query, 1)