PDA

View Full Version : newbie having some trouble creating a drop down menu and button


twistedrhymes
13.07.2004, 05:26
attached is the guestlist.php file that puts all the info in the main window of mambo. can someone please get the button working, or tell me what i've done wrong.. i've been playing with this for a day or so, i'm still a newb.. I just want it to "pass" to the database table #__mv_guestlist the users.

name (from signup) - type text
amount (from form) - type int

once its working i'll be able to see what i did wrong!

included is 1 (one) file "guestlist.php"

regards
mark

wolfsz
17.07.2004, 08:25
Hi there
I had a quick look at your file, it seems fine bar the opening "<?", unless you've configured php.ini for shor quotes you'll need to use "<?PHP" . The more important question is: How are you integrating your script into Mambo?
It might be easier to use a mambot that can integrate a php file directly into a content item. If you go to www.mamoportal.com, in their downloads you'll find one that does the job called "Add PHP Bot".

If this doesn't help then post the actual error(s) you're getting.