Author |
Message |
09/08/2003 21:22:16
|
Anonymous
|
I have problem ,,, I do the steps correctlly and the information in the config file are correct
but I still have the same problem
I made a PHP file called vote.php and it is work but when I include this file in another PHP file, It gives me this Error!
MySQL Error : Database Error
Error Number: 1046 No Database Selected
Date : Sat, August 9, 2003 15:12:09
IP : 195.229.241.233
Browser : Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
Referer :
PHP Version : 4.3.2
OS : Linux
Server : Apache/1.3.28 (Unix) mod_log_bytes/1.2 mod_bwlimited/1.0 PHP/4.3.2 FrontPage/5.0.2.2634 mod_ssl/2.8.15 OpenSSL/0.9.6b
Server Name : alshahamacity.com
Script Name : /en-index.php
I'm using this code
|
|
10/08/2003 17:10:44
|
Anonymous
|
check your config!
you didn't choose a db!
|
|
10/08/2003 23:14:21
|
Auron
Expert
Joined: 23/06/2003 22:02:17
Messages: 1053
Offline
|
For a start you got the wrong tags BUG TIME! It should look like this ::
======
vote.php
======
<?php
include "vote.php";
----
or
----
include_once "vote.php";
?>
Why include the poll in one file and then another???
Why don't you just do the include cookie and booth .php's in the file vote.php was included in??
What does your config look like?
Auron
|
Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought) |
|
|