Databse connectivity?

Please note that official support for this menu version has now ceased. There are still plenty of users, though, and the forum is still running. Some of our long-time users may be able to help you out.
Post Reply
STiX

Databse connectivity?

Post by STiX »

Has anyone got the menu builder working with a database backend?
Paulus

Database connectivity

Post by Paulus »

I Have Managed it. I am on a ASP server running both MS SQL and My SQL, I have got it running with both. You need to take the menu_array.js and place it within an ASP page and place you dynamic ASP references in the correct places.

eg

<!--Create your recordset with the correct query to bring in you menu items-->

<script language="javascript">
~
~
~
~
~
<!--Place the next block of code in a repeat region -->
,"<%=rs1("Name")%>", "<%= rs("firstBlock") %> ","<%= rs("secondBlock") %>","<%= rs("StatusBarText") %>.",<%= rs("seperatorBar") %>

<!-- etc. etc. etc. -->

My system runs off 2 tables, the first stores all the main headers and the second has the dropdown details with a uniques reference number that will call the correct drop downs.

Have fun

PCRTRG
Lee

PHP/MySQL database connectivity

Post by Lee »

Currently users submit their username/passwords through an HTML form:
<form action="../scripts/login.php" method="post">
<input type="Text" name="frmuser" size="15">
and are thereafter validated after clicking the submit button.
I am wondering if the menu array.js will accept HTML tags such as listed above.
Let me know if I did a poor job of describing my dilemma.

Lee
Post Reply