Two questions:


#1

Hi Braves there,

  1. Could someone please provide the code for creating menus?
  2. How could I get the list of all tables (MySQL)?

Thanks much.

Jeff

Send instant messages to your online friends
http://au.messenger.yahoo.com


#2

On Sat, 2006-02-11 at 14:45 +1300, jeff thompson wrote:

Hi Braves there,

  1. Could someone please provide the code for creating menus?
  2. How could I get the list of all tables (MySQL)?

these don’t seem like rails questions at all…

1 - Menus are HTML or maybe HTML in combination with
things like javascript.

2 - command line…

mysql cookbook -u craig -p

Enter password:
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 53 to server version: 4.1.16

Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the buffer.

mysql> show tables;
±-------------------+
| Tables_in_cookbook |
±-------------------+
| categories |
| recipes |
±-------------------+
2 rows in set (0.01 sec)

Craig