Jump to content
Server Maintenance This Week. ×

Online Resrvation Database


This topic is 8676 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies

Greetings

Can someone look at http://24.29.137.85/bnlv/

I need to limit the number of reservations

per show and have the FORM kick back a message

sold out... I believe it's an FPM if statement

however I dont know the wording

IE: Seat limit is 150... so if someone books a show that is over the limit I want a page or message to pop up

Any suggestions

Link to comment
Share on other sites

have 2 fields in your database, one called 'limit' and the other something like 'numRegistered'.

[FMP-If: numRegistered .lte. limit]

*This is where the regular code would appear*

[FMP-Else]

Sold Out!

[/FMP-If]

Hope this helps!

Anita

Link to comment
Share on other sites

I guess I should explain a little more...hehe, sorry! the lte stands for less than or equal to smile.gif gte would be greather than or equal to, if you don't want the 'equal to' part there, just drop the 'e' at the end. And also 'eq' means simply equal to smile.gif That's for future reference if you need it!

Anita

Link to comment
Share on other sites

This topic is 8676 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.