YOU FREAKING RULE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
now I am scared to add some of the other stuff cuz I am afraid I will mess it up- And here we go !
ok now I am having NEW issues - shouldn't it be as simple as adding these fields below?
I went back to check and I wasn't posting everything into a record so started with the simple form for news added only to 2 lines in red and boom nothing will display
uploaded good form and bad form what am I doing that is so wrong???????
// error checking
if (!@$_REQUEST['title']) { $errorsAndAlerts .= "Please specify title!<br/>\n"; }
if (!@$_REQUEST['webaddress']) { $errorsAndAlerts .= "Please specify webaddress!<br/>\n"; }
// update record
if (!@$errorsAndAlerts) {
mysqlStrictMode(false); // disable Mysql strict errors for when a field isn't defined below (can be caused when fields are added later)
$query = "INSERT INTO `{$TABLE_PREFIX}$tableName` SET
createdDate = NOW(),
createdByUserNum = '" .intval( @$CURRENT_USER['num'] ). "',
updatedDate = NOW(),
updatedByUserNum = '" .intval( @$CURRENT_USER['num'] ). "',
title = '".mysql_escape( $_REQUEST['title'] )."'";
webaddress = '".mysql_escape( $_REQUEST['webaddress'] )."'";
Patricia
www.thenetgirl.com