Link to home
Start Free TrialLog in
Avatar of j2
j2Flag for Sweden

asked on

printing to "the same line"

I have the following code, but would like to have the two href's show up on the same line. How?

if ($ret == 'true') {
      print("<br><br><center><b><a href=\"artiklar_list.php3\">Tillbaka till artikellistan</a>");
      }
if ($dis == 'true'){
      if ($discus) {
      echo "<center><b><br><a href=\"http://localhost/cgi-bin/discus/show.cgi?$discus\">Kommentera denna artikel</a></b></center><br><br>";
}
}
ASKER CERTIFIED SOLUTION
Avatar of kawin
kawin

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of j2

ASKER

I actually figured it out just moments before i got the notification about your answer. And since my code ended up almost identical to yours, you certainly still deserve the points.

Thanks.