MySQL Forums
Forum List  »  PHP

HELP Command
Posted by: Johs. Lind
Date: March 31, 2009 12:15PM

I've made a script (php) that gives the viewer access to the MySQL HELP command. (See http://johslind.dk/fusion/viewpage.php?page_id=13). To my view, it is nearly perfect.
One feature is missing: When the result of a query is a [name] and a [description], it would be nice to link the [name] back to its category. Would that be possible?

With my local server where I have access to the database mysql, I can use something like this:
$kategori=mysql_query("
select name from mysql.help_category
where help_category_id =
(select help_category_id from mysql.help_topic
where name='".$res[$key]."')
");

But what to do where there is not that access?



Edited 1 time(s). Last edit at 04/01/2009 02:30AM by Johs. Lind.

Options: ReplyQuote


Subject
Written By
Posted
HELP Command
March 31, 2009 12:15PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.