Search found 17 matches

by brmcdani
Thu Dec 31, 2009 10:11 pm
Forum: PHP - Code
Topic: Cannot Modify Header
Replies: 2
Views: 138

Cannot Modify Header

I am getting the following error message: Cannot modify header information - headers already sent by (output started at /home/content/s/a/g/sagates/html/contact.php:1) in /home/content/s/a/g/sagates/html/contact.php on line 17 Here is my code: <?php ob_start(); $name = $_REQUEST['name']; $phone = $_...
by brmcdani
Thu Oct 29, 2009 1:04 am
Forum: PHP - Code
Topic: Adding Delete Feature to forum
Replies: 3
Views: 1804

Re: Adding Delete Feature to forum

OK I fixed the problem. Thanks for everyones help.
by brmcdani
Thu Oct 29, 2009 1:01 am
Forum: PHP - Code
Topic: Adding Delete Feature to forum
Replies: 3
Views: 1804

Re: Adding Delete Feature to forum

Ok I am making some progress with my problem now. I am getting an sql_error that says "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '* FROM `alabama_forum_replies` WHERE `id`='3'' at line 1" As far as ...
by brmcdani
Wed Oct 28, 2009 6:43 pm
Forum: PHP - Code
Topic: Adding Delete Feature to forum
Replies: 3
Views: 1804

Adding Delete Feature to forum

Hello I am currently trying to add a delete feature to my forum. I believe I have everything built right but I am having some problems when debugging. I do not have PHP Designer 2008 and I am using eclipse as my IDE so it may be something simple. Please give me some help if you can. Thanks! I have t...
by brmcdani
Thu Oct 08, 2009 12:40 am
Forum: Databases
Topic: CURRENT_TIMESTAMP
Replies: 3
Views: 438

CURRENT_TIMESTAMP

When I enter CURRENT_TIMESTAMP in for my default value it gives me an invalid default value for 'edit time'

My type is int does this need to be different?

Anyone know what I can enter in to make this go away?

The error I get is "Invalid default value for 'edit_time' "
by brmcdani
Thu Oct 08, 2009 12:35 am
Forum: PHP - Code
Topic: CURRENT_TIMESTAMP
Replies: 2
Views: 80

CURRENT_TIMESTAMP

When I enter CURRENT_TIMESTAMP in for my default value it gives me an invalid default value for 'edit time'

Anyone know what I can enter in to make this go away?
by brmcdani
Fri Sep 18, 2009 12:02 am
Forum: PHP - Code
Topic: Encryption
Replies: 2
Views: 356

Encryption

I currently just made a registration and login system. When the user registers it encrypts the password using .md5. The problem is that when I try to login you have to type in the encrypted password. How would I approach this problem?
by brmcdani
Thu Sep 17, 2009 8:50 pm
Forum: PHP - Code
Topic: column count doesnt match at row 1
Replies: 3
Views: 557

Re: column count doesnt match at row 1

Well it's an error message. I just wanted to know what it meant so there was no need to include anything else.
by brmcdani
Thu Sep 17, 2009 8:44 pm
Forum: PHP - Code
Topic: column count doesnt match at row 1
Replies: 3
Views: 557

column count doesnt match at row 1

What exactly does column count doesnt match at row 1 mean?
by brmcdani
Mon Sep 14, 2009 12:40 am
Forum: PHP - Code
Topic: PHP LOGIN
Replies: 1
Views: 99

PHP LOGIN

Iam stuck on my login screen. I have no clue what the deal is. I don't know if I am not connecting to the database properly or what. Here is what I have code wise and the screen shot is what I get when I run it in my browser. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" &...
by brmcdani
Fri Sep 11, 2009 11:26 am
Forum: PHP - Code
Topic: PHP Login
Replies: 2
Views: 211

Re: PHP Login

Nope sure didn't I figured it was a dead post being that it was already on page 3. Thanks again for the help.
by brmcdani
Fri Sep 11, 2009 11:13 am
Forum: PHP - Code
Topic: PHP Login
Replies: 2
Views: 211

PHP Login

I am currently getting errors on my login PHP script. Can anyone please look over my code and see what the problem is? Attached is a code and a screen shot that I get when I run the html page on my local host. Thanks in advance. 1.<?php 2.$con = mysql_connect("localhost", "tutorial&qu...
by brmcdani
Thu Sep 10, 2009 10:06 am
Forum: PHP - Code
Topic: PHP LogIn Error
Replies: 6
Views: 791

Re: PHP LogIn Error

Here is a screenshot of what I am getting with the code above. I did close of the end of those with semi-colons.

[imgImage[/img]
by brmcdani
Wed Sep 09, 2009 11:24 pm
Forum: PHP - Code
Topic: PHP LogIn Error
Replies: 6
Views: 791

Re: PHP LogIn Error

Thanks for yalls help so far, but I am still having trouble. I tried to edit the code the way you described and now I am just getting on the screen when I preview it in the browser. I am extremely new with PHP...obviously and I am really confused. When I run it through my editor I get a parse error ...
by brmcdani
Wed Sep 09, 2009 8:54 pm
Forum: PHP - Code
Topic: PHP LogIn Error
Replies: 6
Views: 791

PHP LogIn Error

I just built a login page for my web site. I have looked through my code about 10 million times or so it seems and still cannot get it fixed. Whenever I click the submit button it just brings me back to the login page. Can someone please look over my code and see if you see anything wrong? Thanks! <...