![ישן](https://static.fresh.co.il/images/vBulletin/statusicon/post_old.gif)
09-12-2005, 10:50
|
|
|
חבר מתאריך: 30.05.04
הודעות: 170
|
|
יש שגיאות?
תנסה את הקוד הבא, עם פרטיך:
קוד PHP:
<?Php $dbConnect = mysql_connect($yourHost,$yourUser,$yourPass); // connecting DB user $dbSelect = mysql_select_db($yourDb); // selecting your DB
$dbQuery = mysql_query("Select * From downloads"); // sql query, selecting all tables fileds $dbNum = mysql_num_rows($dbQuery); // Getting number of fileds in the DB
print $dbNum; // printing the number of fildes/rows at the DB ?>
מקווה שיפעל
_____________________________________
Your signature did not follow Fresh's signatures policy, therefore it was automatically erased. Please see the E-Mail which has been sent to you, to learn how to fix this.
|