Search found 14 matches

by grahamd
Mon Nov 01, 2004 7:15 am
Forum: PHP - Theory and Design
Topic: Newsletters
Replies: 2
Views: 1497

Newsletters

Hey guys! Right - relatively simple problem for you to help me with here - I've set up a newsletter page in the admin section of my site, which automatically sends the submission to the address of every subscriber. The thing I want to know is: how can I go about creating HTML formatted newsletters w...
by grahamd
Thu Oct 28, 2004 1:00 pm
Forum: PHP - Code
Topic: Countries
Replies: 5
Views: 1232

Countries

Incidentally - for those of you who may be wanting to incorporate a dropdown box for users to enter their location (country) here's a whopping great big list of every country that I found during my travels! Toodle oo! <select name="location" size="1"> <option>United Kingdom</opti...
by grahamd
Thu Oct 28, 2004 12:53 pm
Forum: PHP - Code
Topic: Database Problem [SOLVED]
Replies: 11
Views: 2081

Oh believe me - if I hit myself over the head with a bat every time I realised I was being stupid I wouldn't have much of a head left :wink:
Why is it that the simplest problems are always the hardest to find? Ach well - onwards and upwards!
by grahamd
Thu Oct 28, 2004 11:36 am
Forum: PHP - Code
Topic: Database Problem [SOLVED]
Replies: 11
Views: 2081

Problem solved! And what a silly one it was.... My 'footer.html' demanded a live database connection to produce info like how many people are currently online. At the end of every conditional I closed the database upon successful data submission to it. This meant the footer could no longer get the d...
by grahamd
Thu Oct 28, 2004 11:20 am
Forum: PHP - Code
Topic: Database Problem [SOLVED]
Replies: 11
Views: 2081

I can't really show you where it appears exactly without screendumps/whatever. It appears in the right-hand menu which is created by my 'footer.html' file. That leads me to suspect the problem lies therein. Here's the footer page.... </div> <div id="Menu"> <?php # User Login Attempt Numero...
by grahamd
Thu Oct 28, 2004 10:40 am
Forum: PHP - Code
Topic: Database Problem [SOLVED]
Replies: 11
Views: 2081

Here's mysqlconnect.... <?php # User Login Attempt Numero Uno - mysql_connect.php // Et voila....the database access info. I'll also create a connection to MySQL and select the database here // Setting the database access info as constants... define('DB_USER', 'graham'); define('DB_PASSWORD', ''); d...
by grahamd
Thu Oct 28, 2004 10:25 am
Forum: PHP - Code
Topic: Database Problem [SOLVED]
Replies: 11
Views: 2081

The code for one of the pages which gives me that error is: <?php # admin_editfield.php // This page allows the editing of profile information // Include the configuration file for error management and such. require_once ('includes/config.inc'); // Set the page title and include the HTML header. $pa...
by grahamd
Thu Oct 28, 2004 6:55 am
Forum: PHP - Code
Topic: Database Problem [SOLVED]
Replies: 11
Views: 2081

Database Problem [SOLVED]

Hey guys, I'm having a problem with my PHP/MySQL driven site where on some pages when I add data to the database I get a "No Database Selected" error message appearing onscreen. The information adds ok and everything works fine - it's just this error message appearing for users which is bu...
by grahamd
Tue Oct 26, 2004 8:59 am
Forum: PHP - Code
Topic: [SOLVED] MSIE Display Problem
Replies: 4
Views: 383

I hate MSIE

Success! After much hair removal and tweaking I discovered the problem. In my CSS file I had specified, under body, a 0.05em letter spacing default. MSIE obviously decided to wave two fingers at this idea. I really, really hate that browser. Why won't people learn and start using Firefox or Netscape...
by grahamd
Mon Oct 25, 2004 5:19 pm
Forum: PHP - Code
Topic: [SOLVED] MSIE Display Problem
Replies: 4
Views: 383

[SOLVED] MSIE Display Problem

Hey guys, I'm really struggling to figure this one out so I need your help! I have a page written that displays, for admin purposes, all the users registered on a website I'm working on. To ease reading, the code automatically splits the table over pages with 10 on each page. It works fine in Intern...
by grahamd
Sat Oct 23, 2004 7:35 am
Forum: PHP - Code
Topic: Creating a Forum from Scratch
Replies: 2
Views: 317

I'll be developing my own forum from square 1 - the uni regulations don't permit me to take existing packages and modify them unfortunately! I am, however, allowed to get advice and code from people who I request assistance from (i.e. you guys) so that'll be my crutch to lean on! I'm just about to s...
by grahamd
Sat Oct 23, 2004 7:24 am
Forum: PHP - Code
Topic: Unknown PHP/SQL Problem
Replies: 2
Views: 337

Internet Explorer Strikes Again

Right - one minor discovery in relation to my problem which might throw some light on the problem - it's an Internet Explorer only problem. The page displays fine in Netscape. Why on earth could this be happening?
by grahamd
Fri Oct 22, 2004 6:57 pm
Forum: PHP - Code
Topic: Creating a Forum from Scratch
Replies: 2
Views: 317

Creating a Forum from Scratch

For those of you unfortunate to stumble across my previous post relating to a problem with my uni project login system - this is kind of a tag-along - my next question for you guys is do any of you have any advice/code/magic tricks for getting a forum or threaded message board up and running which I...
by grahamd
Fri Oct 22, 2004 6:41 pm
Forum: PHP - Code
Topic: Unknown PHP/SQL Problem
Replies: 2
Views: 337

Unknown PHP/SQL Problem

Hey peeps! I'm having a problem here which is really starting to rip my socks. For my uni project I'm undertaking a PHP/MySQL powered user login/forum website design. Things were running smoothly till the other day.... I have an admin section for the logon system with a page called "view_users....