ranjuvs
-
Posts
135 -
Joined
-
Last visited
Never
Posts posted by ranjuvs
-
-
remove the exit(); function
-
try this out and let me know whether it works
$db->query('SELECT item.id, item.name, item.description, order.id, order.amount, order.user_id, order.order_number FROM `order` LEFT JOIN `item` ON order.item_id = item.id')
change this query to
$db->query('SELECT item.id, item.name, item.description, order.id, order.amount, order.user_id, order.order_number FROM `order` LEFT JOIN `item` ON order.item_id = item.id' AND order.item.id="the order id you get from the first query")
-
Whats the error you are getting?
-
where you are fetching the result?
$result = mysql_query($query);
$row = mysql_fetch_row($result);
}
$admin = "{$row['admin']}";
-
You need to get the value of cmd using $_GET or $_REQUEST global arrays
$cmd = $_GET['cmd'];
if(!isset($cmd)) ................
-
-
chg the condition as below..
foreach() {
$a = 1+4;
if($a>=5){
break;
}
}
-
Can you please paste your code here so that I could get a better understanding of your problem
-
Try using subscript
$_POST['username'][0]
New to PHP help with form
in PHP Coding Help
Posted
For redirecting to a different page or site use Header function
eg:
header('Location: sitename.com');
exit;
For mailing the user use mail() function.(http://in2.php.net/manual/en/function.mail.php)
Regards
Ranju