#18825 [NEW]: Ignoring formatting (Read to understand)

From: Date: Fri, 09 Aug 2002 06:26:14 +0000
Subject: #18825 [NEW]: Ignoring formatting (Read to understand)
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-16356@lists.php.net to get a copy of this message
From: php@awpti.org Operating system: Linux PHP version: 4.1.2 PHP Bug Type: Output Control Bug description: Ignoring formatting (Read to understand) Here's the code snippet: <span>Links</span> - <?php print '<a href="'.$base_dir.'/awlinks.php">.:back:.</a> -- <strong>'._cat_title($getcat).'</strong>'; ?> Here's the result: Links - Cartoons<a href="/awlinks/awlinks.php">.:back:.</a> -- <strong></strong></td> Cartoons SHOULD be between <strong></strong> (That's the point of _cat_title() -- here's the code for _cat_title function _cat_title($getcat) { $res = mysql_query("SELECT * FROM LinksCatalog WHERE ID = '$getcat'"); $row = mysql_fetch_assoc($res); $title = $row['LinkGroup']; return $title; } -- Edit bug report at http://bugs.php.net/?id=18825&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=18825&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=18825&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=18825&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=18825&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=18825&r=support Expected behavior: http://bugs.php.net/fix.php?id=18825&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=18825&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=18825&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=18825&r=globals

« previous php.bugs (#16356) next »