case 'forward':

$id = $_REQUEST['id'];

    $con = mysql_connect('localhost', 'root', '') or die("error in mysql connect");
    mysql_select_db('database', $con) or die ("error in select db");

    if ($con)
    {
            $query = "select * from signup1";
            $runQuery = mysql_query($query, $con) or die("abc");

            while ($abc = mysql_fetch_assoc($runQuery));
            {
                echo "<div>$abc[ID] $id</div>";

            }
    }
break;

------------------------------------------------------------------------
this shows nothing in browser

Would this work maybe?

echo "<div>" .$abc[ID] $id."</div>";

Try echo '<div>'.$abc['ID'].' '.$id.'</div>';

Also, I would recomment $_GET['id'] rather than $_REQUEST

You forgot to enclose index name in single quotes. If you want to use double quotes you also have to enclose the array element in curly braces:

echo "<div>{$abc['ID']} $id</div>";

try this (as others have also suggested)

echo "<div>".$abc[ID].$id."</div>";
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.