Chi Kien Uong
Geranienstraße 30
71034 Böblingen
Deutschland / Germany
|
If you are not registered or logged in, you may still use these forums but with limited features.
Show recent topics
|
|
|
Author |
Message |
21/11/2004 22:53:22
|
Anonymous
|
I created a new database, and then added user to the database and give the user full persmissions.
Note that this user was already created, as the user is already a user of another database, actually a PHPBB forum.
I edited the config.inc.php as described, but I start the install I get a "Cannot connect to mysql database" after I click "Next" and "Yes".
Any ideas?
|
|
21/11/2004 22:55:55
|
Anonymous
|
Maybe I should add that I chose the PHP/MySQL version, and all the files are in a "poll" folder, and am I correct to understand that I do NOT need to change permissions on any files?
|
|
21/11/2004 23:05:21
|
Anonymous
|
Hmm, I just wrote a small test script trying to connect to the database, and that won't work either.
|
|
21/11/2004 23:10:17
|
Anonymous
|
Sorry stuppid mistake, username was case sensitive
|
|
21/11/2004 23:44:23
|
Anonymous
|
Ok, so far so good. It all works nicely.
However my website has many pages, that each need a separate poll and comments. Plus these pages are almost added daily.
I am a newbie to PHP, so I wanted to see if somebody could put me in the right direction.
When ever soembody visits the page, I want to test for the poll. Each page already is identified with an ID number, so I could use this number to check for the ID. I guess I would have to change the database from autonumber to number, yes?
If the poll does not exist, I want create it on the fly, since it is always the same questions, color, and options, with the known ID.
Finally display this poll, this I already know how to do
Any help is highly appreciated, thanks!
|
|
|
|
|
|
Based on the open source JForum
|