Search found 8 matches

by bfsog
Sat Feb 12, 2005 5:32 pm
Forum: PHP - Code
Topic: newsletter
Replies: 4
Views: 532

I dont know what you want help with. If you want to have an admin area, ... // login.php <?php session_start(); header("Cache-control: private"); //IE 6 Fix include ("connect.php"); // database connection settings in this file if($_POST&#1111;'username'] || $_POST&#1111;'...
by bfsog
Fri Feb 11, 2005 5:56 pm
Forum: PHP - Code
Topic: Cannot edit record
Replies: 14
Views: 518

is there a solution? i dont know how to turn them on...
by bfsog
Fri Feb 11, 2005 5:52 pm
Forum: PHP - Code
Topic: Cannot edit record
Replies: 14
Views: 518

yes. edit.php forms action is editpost.php, using get method
when i goto editpost.php, from edit.php, in the url it is ?id=10 or whatever
by bfsog
Fri Feb 11, 2005 5:44 pm
Forum: PHP - Code
Topic: Cannot edit record
Replies: 14
Views: 518

Not sure what you mean. Sorry I am new to this.

All I want is to be able to edit records.

Im sure I had this working, but it will not edit now

Thanks again for taking time to help me.
by bfsog
Fri Feb 11, 2005 5:30 pm
Forum: PHP - Code
Topic: Cannot edit record
Replies: 14
Views: 518

I have a file, called edit.php, which is where the user enters the id of the record to edit.
by bfsog
Fri Feb 11, 2005 2:46 pm
Forum: PHP - Code
Topic: Cannot edit record
Replies: 14
Views: 518

thanks, but still not functioning

My code still does not update the record. I have stripped all the useless stuff, but all the php remains. <?php session_start(); header("Cache-control: private"); ?> <?php include ("connect.php"); if (isset($_GET&#1111;'id'])) &#123; $id = $_GET&#1111;'id']; &#125...
by bfsog
Fri Feb 11, 2005 12:31 pm
Forum: PHP - Code
Topic: Cannot edit record
Replies: 14
Views: 518

Cannot edit record

Im completing a blog script, and actually this wasnt a known bug until 5 minutes ago. I try and edit a post, by putting in the variables stored in a database table. The code is kinda sloppy, not very good for its purpose, but im new.. <?php session_start(); header("Cache-control: private")...
by bfsog
Thu Feb 10, 2005 6:20 am
Forum: PHP - Code
Topic: code says im not logged in
Replies: 1
Views: 251

code says im not logged in

The following code is where I add blog entries into a database. I have been working on this for about a week now. What happens is, I always get the "You have to sign in first", however, I am signed in when I try to add. <html> <head> <?php include ("constants.inc"); ?> <?php echo...