Jump to content

Bah trading system error


fighnight

Recommended Posts

Alright so I have this site where you can trade people your stuff for their stuff and I am getting stuck at this part of inserting part

 

I can't figure out

 

if ($test){
foreach ($test as $t){
if ($t == "")
{
$t="None";
}
echo "My Trading # $t <br>";
}
}
$test1=$_POST['ot_trade'];
if ($test1){
foreach ($test1 as $p){
echo "Your Trading #: $p";
}

 

Like I get to insert part and when it shows in phpmyadmin it show two different rows when I select two of my information, and how can I make it check if select "None" it only shows blank none.

Link to comment
https://forums.phpfreaks.com/topic/81885-bah-trading-system-error/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.