Web Mailing List

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
coderJ
Forum Newbie
Posts: 1
Joined: Sun Oct 26, 2008 8:43 am

Web Mailing List

Post by coderJ »

Hi need help instaling Web Mailing List
The code is one of the easiest i have ever seen but not sure why it will not install.

Part of what i am to edit are:

<?php
mysql_connect("localhost","username","password") or die(mysql_error());
mysql_select_db("newsletterdb");
?>


I created sql user name & pw
& edited it


same with the other file i am to edit

<?php
session_start();
if ($_SESSION['admin'] != 'yes')
die("Only admins can view this page.");
mysql_connect("localhost","username","password") or die(mysql_error());
mysql_select_db("newsletterdb");
?>



each time i try to create it by clicking the create.php it keeps saying the database already existed and when i delete it , it says users cannot connect to database.

thanks
Post Reply