Is there any way where I can put the tables in a MySQL database into a dropdown menu?
Array
(
[0] => Array
(
[Post] => Array
(
[id] => 4
[user_id] => 3
[title] => nun :)
[body] => goodmorning
sa
inyu
[created] => 2011-10-18 01:45:08
[modified] => 2011-10-18 21:15:41
)
[User] => Array
(
[id] => 3
[username] => von
[password] => 8c1285276260289a5cfc499e233c277fdbd6098b
[active] => 1
)
)
)
This has been solved in Stack Overflow question Creating ‘select’ listboxes using FormHelper in CakePHP.
You have your tables in an array already.
What is the difficulty you’re having putting them into a drop-down menu?
I assume that you are want a
<select>element. Should be fairly straight-forward – have a go and report back with the code you tried to use and what went wrong.