#18825 [Fbk->Bgs]: Ignoring formatting (Read to understand)

From: Date: Wed, 11 Sep 2002 16:52:24 +0000
Subject: #18825 [Fbk->Bgs]: Ignoring formatting (Read to understand)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-19169@lists.php.net to get a copy of this message
ID: 18825 Updated by: sniper@php.net Reported By: php@awpti.org -Status: Feedback +Status: Bogus Bug Type: Output Control Operating System: Linux PHP Version: 4.1.2 New Comment: Sorry, but the bug system is not the appropriate forum for asking support questions. Your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php Thank you for your interest in PHP. Previous Comments: ------------------------------------------------------------------------ [2002-08-09 04:27:23] rasmus@php.net Somewhere along the line you are doing something silly. Put up a .phps of your actual code somewhere. Or show us a small self-contained script that illustrates this. I'm 99.999% sure this is user error. But I'll be nice and leave this in feedback mode for a little while. ------------------------------------------------------------------------ [2002-08-09 02:26:13] php@awpti.org 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 this bug report at http://bugs.php.net/?id=18825&edit=1

« previous php.bugs (#19169) next »