|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-08-09 04:27 UTC] rasmus@php.net
[2002-09-11 11:52 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Mon Jan 05 01:00:01 2026 UTC |
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; }