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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.