Hi, Tuesday, December 2, 2003, 9:54:33 PM, you wrote: B> Hi i am very new to PHP so need some help !
B> i have a form which allows the user to put in 2 team names and then displays B> them, at the moment it displays them side by side but i need to insert V B> (versus) in the middle--how can i do that. B> I am guessing it goes in the lines of the code below somewhere, This code B> originally displayed someones input for --first name,last name and address B> so i have adapted it. Is there anyway to have the 'address' field display a B> set value as in a V , at the moment i have removed that part but the table B> field is still there, i have just hidden the form input. B> $result = mysql_query("SELECT * FROM teams",$db); B> while ($myrow = mysql_fetch_array($result)) { B> printf("<a href=\"%s?id=%s\">%s %s</a> \n", $PHP_SELF, $myrow["id"], B> $myrow["teama"],$myrow["teamb"]); Just stick a V between as in ..>%s V %s <... printf will ignore anything without a % before it and just copy it to the output -- regards, Tom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php