Registration Number Limiter

User 2435901 Photo


Registered User
8 posts

Evening

Another question i have, as i am using this great software to build a registration page.

We are doing some webinars at our conference and the webinar room has a limit of 100 persons. I am trying to teach myself how to count the MYSQL column with the total registered before the next person can submit their registration request. Wondering if someone has done this. I have tried to search the forum but not seen an example.

Thanks for your help. Hope i make sense.

Steve Fulton
User 187934 Photo


Senior Advisor
20,271 posts
Online Now

Maybe this.
$nRows = $pdo->query('SELECT COUNT(*) FROM registered WHERE reg_date ='$webinardate' '')->fetchColumn();
echo count($nRows);
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.