•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the MySQL section within the Web Development category of DaniWeb, a massive community of 375,245 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,187 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our MySQL advertiser:
Views: 2277 | Replies: 2
![]() |
i got this message plz help ::
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/baje/public_html/Templates Management/index.php on line 17
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/baje/public_html/Templates Management/index.php on line 19
its like this plz point out
session_start();
include_once('common/common.php');
// global variable declaration & assignment
$action = $_GET['action'];
$goto = $_GET['goto'];
$SQL = "SELECT * FROM filedb ORDER BY urlname DESC";
DB_connect();
$result = mysql_query($SQL);
$found = mysql_num_rows($result);
DB_close();
while ($row = mysql_fetch_array($result)) {
$urlnameArray[] = $row['urlname'];
$filenameArray[] = $row['path'];
}
?>
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/baje/public_html/Templates Management/index.php on line 17
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/baje/public_html/Templates Management/index.php on line 19
its like this plz point out
session_start();
include_once('common/common.php');
// global variable declaration & assignment
$action = $_GET['action'];
$goto = $_GET['goto'];
$SQL = "SELECT * FROM filedb ORDER BY urlname DESC";
DB_connect();
$result = mysql_query($SQL);
$found = mysql_num_rows($result);
DB_close();
while ($row = mysql_fetch_array($result)) {
$urlnameArray[] = $row['urlname'];
$filenameArray[] = $row['path'];
}
?>
sorry i didn't copy all ,i'm new so get confused
its like this
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/baje/public_html/Templates Management/index.php on line 12
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/baje/public_html/Templates Management/index.php on line 14
<?php
session_start();
include_once('common/common.php');
// global variable declaration & assignment
$action = $_GET['action'];
$goto = $_GET['goto'];
$SQL = "SELECT * FROM filedb ORDER BY urlname DESC";
DB_connect();
$result = mysql_query($SQL);
$found = mysql_num_rows($result);
DB_close();
while ($row = mysql_fetch_array($result)) {
$urlnameArray[] = $row['urlname'];
$filenameArray[] = $row['path'];
}
?>
its like this
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/baje/public_html/Templates Management/index.php on line 12
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/baje/public_html/Templates Management/index.php on line 14
<?php
session_start();
include_once('common/common.php');
// global variable declaration & assignment
$action = $_GET['action'];
$goto = $_GET['goto'];
$SQL = "SELECT * FROM filedb ORDER BY urlname DESC";
DB_connect();
$result = mysql_query($SQL);
$found = mysql_num_rows($result);
DB_close();
while ($row = mysql_fetch_array($result)) {
$urlnameArray[] = $row['urlname'];
$filenameArray[] = $row['path'];
}
?>
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb MySQL Marketplace
Similar Threads
- Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource (PHP)
- Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource (PHP)
- Another mysql_num_rows(): error (PHP)
- Mysql_num_rows($result) (PHP)
Other Threads in the MySQL Forum
- Previous Thread: Copy tables from one MySql DB to another MySql DB
- Next Thread: FULLTEXT searching


Linear Mode