View Single Post
  #2 (permalink)  
Old 09-28-06, 06:58 AM
UnrealEd's Avatar
UnrealEd UnrealEd is offline
Community Liaison
 
Join Date: May 2005
Location: Antwerp, Belgium
Posts: 3,165
Thanks: 4
Thanked 25 Times in 25 Posts
i think your problem is here:
PHP Code:

$title="$_POST['$title]";

$content="$_POST['$Scontent]"
you don't have to parse them as strings, as they are allready strings. Bu this s not causing the problem. You have a dollar sign before "Scontent" and "title", i think this has to be removed. this is what should be there:
PHP Code:

$title=$_POST['title'];

$content=$_POST['Scontent']; 
also add 'or die(mysql_error());' after every mysql_query(), that way you can check what mysql returns as error.

Greetz,
UnrealEd
__________________
"Good judgement comes from experience, and experience comes from bad judgement." - Fred Brooks

Reply With Quote