I was installing URL shortner on my domain "xxx/shrt/xx"

The installation guide was something like this

"Run the file database.sql in the MySQL interface (import->choose file)."

I don't know what does that mean. So I created new DB with new User and password.. Then I edited my config.php file.

I can get the home page load but when I enter some url I get this error

PHP Code: 
Warningmysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/xxx/public_html/xxx/URL/shorturl/index.php on line 26 

2) The button is not working.. The reset button.



It should clear the space for new url, but when I click nothing happens.

3) According to the guide

"Now change the URL in the .htaccess file in the above configured $sitename URL (RewriteRule ^(.*) http://www.yourdomain.com/?%1 [L])."

Should I just change the URL or remove "?%1 [L])" also?


Thank you.
BattleDuty Reviewed by BattleDuty on . Installation help - MySQL problem. I was installing URL shortner on my domain "xxx/shrt/xx" The installation guide was something like this "Run the file database.sql in the MySQL interface (import->choose file)." I don't know what does that mean. So I created new DB with new User and password.. Then I edited my config.php file. I can get the home page load but when I enter some url I get this error Rating: 5