5
           
            
                
     
    
    A REPLY!!!! Wow.. ive only posted question on fex like 50 times and gotten nothin... this is exciting lol. LAst time i had a problem Herko was kewl enough to talk to me on MSN to fix my problems.
ANYWAY i got the script stuff i needed and made it work with alot of outside help. Essentially my code displays the database how i want it and all taht stuff... but im having trouble with the form to write TOO the database.
I am running two files...
here is the html file i run to display my form...
 <FORM action="http://thisgeneration.com/modules/cjaycontent/content/encounters_form.php" method="POST"> 
 
<table> 
<tr><td align="right">Script Title: td><td><input type="text" name="script_title">td>tr> 
<tr><td align="right">Script: td><td><input type="text" name="script">td>tr> 
<tr><td align="right">Content Title: td><td><input type="text" name="content_title">td>tr> 
<tr><td align="right" valign="top">Content: td><td><textarea name="content" rows="10" cols="50">textarea>td>tr> 
table> 
 
<input type="submit" name="submit" value="submit"> <input type="reset" value="reset"> 
FORM>  
and here is that php file that should make my form write to the database...
 $dbname = "thisgene_sitearticles";            // Place the database name here 
$tablename = "encounters";                // Table name here 
 
$dbconnect = mysql_connect ("localhost", "thisgene_porter", "password") or die(mysql_error()); 
 
$db = @mysql_select_db($dbname, $dbconnect); 
 
$sql = "INSERT INTO $tablename (script_title, script, content_title, content) VALUES ('$_POST[script_title]', '$_POST[script]', '$_POST[content_title]', '$_POST[content]')"; 
 
$result = @mysql_querry($sql, $dbconnect) or die(mysql_error()); 
 
?>  
Any ideas WHY its not working.. i mean when i subit my form i get a blank white page... like it worked.. but it doesnt write it to my database.