dstruct2k
04-21-2004, 11:23 PM
One of my friends just got a new script he wants to install, but since he has no clue how PHP/SQL work (just installed WinLAMP as an introduction) I've decided I'd write an installer script for this password-protection script. (Attachment 1 (https://vborg.vbsupport.ru/attachment.php?attachmentid=18280))
As for my code, I'm getting odd errors.The installer is now running the installation queries . .
Fatal error: Call to a member function on a non-object in c:\apache\htdocs\tst\install.php on line 88
My install.php file, hand coded (although the HTML was "borrowed" from the original script to keep a consistant "feel" :)) is attached (Attachment 2 (https://vborg.vbsupport.ru/attachment.php?attachmentid=18281)) and I would like some assistance.
PS - I know that to install this script, all that's needed is modify 1 PHP and run 1 query, but I would also like to expand my knowledge about PHP, and have decided to write this script as a practice. Help would be greatly appreciated. :D
As for my code, I'm getting odd errors.The installer is now running the installation queries . .
Fatal error: Call to a member function on a non-object in c:\apache\htdocs\tst\install.php on line 88
My install.php file, hand coded (although the HTML was "borrowed" from the original script to keep a consistant "feel" :)) is attached (Attachment 2 (https://vborg.vbsupport.ru/attachment.php?attachmentid=18281)) and I would like some assistance.
PS - I know that to install this script, all that's needed is modify 1 PHP and run 1 query, but I would also like to expand my knowledge about PHP, and have decided to write this script as a practice. Help would be greatly appreciated. :D