2 / 3
Aug 2010

I had it sending my needed order data to my database, but yesterday and todays orders both have a blank item name and 0 set for quantity. I didnt change anything, did e-junkie?



Here is my code.



$time = date("m/j/Y g:i:s");

$email = $POST['payeremail'];

$item = $POST['itemname'];

$qty = $_POST['quantity'];

$code = $_POST['key'];



mysql_query("INSERT INTO orders (paydate, username, items, qty, code) VALUES ('$time', '$email', '$item', '$qty', '$code')");



It was working, now it is not?

  • created

    Aug '10
  • last reply

    Aug '10
  • 2

    replies

  • 820

    views

  • 2

    users

$x = $POST['itemcart_position'];



mysql_query("INSERT INTO orders (paydate, username, items, qty, code) VALUES ('$time', '$email', '$item . $x', '$qty . $x', '$code')");



? $idk = 'wtf' ?

Did that realization clarify the issue for you, or did you still need some advice? Nothing has changed in the way we transmit order data for our Integration feature.