I thought this was straight forward... what am I missing here?
Code: Select all
<?php
GetSQLValueString($_POST['budget'], "text").'<br>'.GetSQLValueString($_POST['domain'], "text");
?>Code: Select all
budgetvalue
domainvalueThanks,
Josh
Moderator: General Moderators
Code: Select all
<?php
GetSQLValueString($_POST['budget'], "text").'<br>'.GetSQLValueString($_POST['domain'], "text");
?>Code: Select all
budgetvalue
domainvalueCode: Select all
'budgets value'<br>'domains value'Code: Select all
$check = GetSQLValueString($_POSTї'budget'], "text").'<br>'.GetSQLValueString($_POSTї'domain'], "text");Code: Select all
GetSQLValueString($_POSTї'budget'] . '<br />' . $_POSTї'domain'], 'text');Code: Select all
<?php
$insertSQL = sprintf("INSERT INTO invoices (id, userid, ammount, tax, total, description, status, date_generated, date_due, payment_method, cc_run) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)",
GetSQLValueString($_POST['id'], "int"),
GetSQLValueString($_POST['userid'], "text"),
GetSQLValueString($_POST['amount'], "text"),
GetSQLValueString($_POST['tax'], "text"),
GetSQLValueString($_POST['total'], "text"),
GetSQLValueString($_POST['budget'].'<br />'.$_POST['domain'].'<br />'.$_POST['hosting'].'<br />'.$_POST['design'].'<br />'.$_POST['marketing'].'<br />'.$_POST['comments']),
GetSQLValueString($_POST['status'], "text"),
GetSQLValueString($_POST['datesubmit'], "text"),
GetSQLValueString($_POST['datedue'], "text"),
GetSQLValueString($_POST['paymethod'], "text"),
GetSQLValueString($_POST['ccrun'], "text"));
?>Code: Select all
Warning: Missing argument 2 for getsqlvaluestring() in /home/nibuha/public_html/packages2.php on line 3
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ': already have one
domain: already have one
hosting:Code: Select all
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ': Under 500, 'INQUIRY', '09/23/2004', '09/23/2004', 'chq', NULL