![]() |
||
Mysql Query - Number of RowsCopy and paste the following code into your editor (watch out the file type - I use Linux) and run it (code comments are included). If you want to see the live result (we believe this is the best way to learn what is the script about), try it here (new window). The perl code Run it and include the code anywhere in your web pages. This script assumes you already set up a database named test with privileges granted to a user identified by a password. It also assumes you created a table login containing the fields user and pass. You can easily adapt the query to your tables and databases. |
|
Categories |