|
$nrecid = $accaid; // Record ID ( Passed from earlier in the function )
$temp = "Name: " . $name . "
Email Address: " . $emailAddress . "
Phone Number: " . $phoneNumber . "
Message: " . $message . "
HTTP_REFERRER: " . $_SERVER[ 'HTTP_REFERER' ]; // Notes
$nnotes = str_replace( " ", "", $temp );
$args = array(
$nrecid ,
$nnotes );
$query = "INSERT INTO " . $library . ".NOTEFILE
( NRECID, NNOTES )
VALUES ( ?, ? )";
$stmt = db2_prepare( $conn, $query );
if ( !db2_execute( $stmt, $args ) ) {
$error = array (
'Statement Error' =>db2_stmt_error( ),
'Error Message' => db2_stmt_errormsg( ),
'Query' => aiInterpolateQuery( $query, $args )
);
++$errorCount;
}
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.