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

From: Date: Fri, 09 Aug 2002 08:27:23 +0000
Subject: #18825 [Opn->Fbk]: Ignoring formatting (Read to understand)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-16367@lists.php.net to get a copy of this message
ID: 18825 Updated by: rasmus@php.net Reported By: php@awpti.org -Status: Open +Status: Feedback Bug Type: Output Control Operating System: Linux PHP Version: 4.1.2 New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [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 (#16367) next »