is there some one here that know a site where i can learn mysql syntax ???
i frustated since i want to update a table like this
table a
nim name
1 Rud
2 Dem
3 Kil
table b
nim real-name
1 contain form tablea.name
2
3
Ah, sorry that I misinterpreted your question.
In any case, the SQL syntax for each of my examples is the first argument to each call to mysql_query(). For example, for my "insert" example, the PHP code is $result = mysql_query("INSERT INTO mytable (somecolumn) values ('Hello there')"); -- the corresponding SQL code (that you could enter into the mysql prompt, for instance) is simply "INSERT INTO mytable (somecolumn) values ('Hello there')". The mysql_query() command is just a thin wrapper for executing SQL statements, essentially.
I hope that's some help.
You can write your own SQL execute form in PHP. Implementation is relatively simple; the solution can be embedded into all your projects and can serve as query development/debugging/testing tool as long as a simple database management utility.