473,721 Members | 1,930 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

~ Help - counter script ~

Hi all

Here is the scenerio ...is it possibly to do this...

i am getting valid course dates output on to a web which i have designed
....all is okay so far , look at the following web url

http://www.mis.gla.ac.uk/biquery/training/

but each of the courses held have maximum of 8 people that could be
booked , and i want to put a counter on this so that when the course
name,date,time is displayed i want this counter to appear besides each
course name so that i can keep track of booking places...all the various
course names are held in one table...

2. and if the booking counter is less than 8, i want to have a another
button besides the booking counter to say 'add me', which will popup a
booking form which the user fills and emails to the course organiser...

3. if the booking counter is less than 3 then the course is not
held...pops up message to user...

4. if it is >8 then i want to popup message to say the courses are full
booked...

can the above be done...if so please supply code snippets starter

thanks in advance....indy

Jul 16 '05 #1
1 6839
RG

"inderjit S Gabrie" <i.******@mis.g la.ac.uk> wrote in message
news:3E******** *******@mis.gla .ac.uk...
Hi all

Here is the scenerio ...is it possibly to do this...

i am getting valid course dates output on to a web which i have designed
...all is okay so far , look at the following web url

http://www.mis.gla.ac.uk/biquery/training/

but each of the courses held have maximum of 8 people that could be
booked , and i want to put a counter on this so that when the course
name,date,time is displayed i want this counter to appear besides each
course name so that i can keep track of booking places...all the various
course names are held in one table...

2. and if the booking counter is less than 8, i want to have a another
button besides the booking counter to say 'add me', which will popup a
booking form which the user fills and emails to the course organiser...

3. if the booking counter is less than 3 then the course is not
held...pops up message to user...

4. if it is >8 then i want to popup message to say the courses are full
booked...

can the above be done...if so please supply code snippets starter

thanks in advance....indy

You need to hire a coder, this is not your average download script.
RG
Jul 16 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
3771
by: Tim Hussein | last post by:
Hi, this is my situation: I have a counter on my MAIN page. It is incremented by requesting a certain "picture" which is the output of a script. I can do this manually with: http://www.mydomain.com/script.php?id=123456&vid=987654 This increments the counter.
0
1893
by: deko | last post by:
I use this script to keep count of visits to my site - it's on every page in the site. <?php $file = '/home/post/public_html/viscount'; if ($counter = @file ($file)) { $line = each($counter); if (!$counter) { $counter = 1; } else {
8
2543
by: Jim in Arizona | last post by:
I've been looking for a counting script to count the number of hits to my HTM and asp web pages on my company's internal website. So far, everything I've seen only works on asp pages. Where would I find some counter code to record hits on htm(l) as well as asp pages? I'm using IIS 5.0. Thanks.
2
4484
by: Carl Gilbert | last post by:
Hi I'm having problems with the following code. All I want to do is keep a counter on the page for every new image recieved without deviating from the "for" and "event". <OBJECT ID="CamImage1" WIDTH=352 HEIGHT=288 CLASSID="CLSID:C79D3167-6133-4e7c-821C-5C114611022D" CODEBASE="http://www.ipvideocenter.com/components/CameraControl.cab#VERSION= 3,2,1,0">
7
3435
by: mistral | last post by:
I use htaccess to protect directory and granting access to download file only for the authorized users. Just want implement simple PHP file download counter for single file. I need track the number of downloads of this file on my website, IP address and date. Since I have no access to Apache log files, I need some other way, use script that will write a log file. Is there some handy way? M.
5
2113
by: jasonchan | last post by:
How would you set up a counter in javascript that goes from 5 to 0 This is what i have so far and it is not displaying in the div container "counter" for some reason... <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled...
3
7885
by: Abhinavnaresh | last post by:
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Xml.Xsl.XsltException: Cannot find the script or external object that implements prefix 'counter'. Source Error: An unhandled exception was generated during the execution of the current web request. Information...
9
2251
by: Pygmalion | last post by:
I have found dozen of useful PHP counters on the web. However, nobody is working for my web pages, since administrator does not want to enable the possibility that PHP could be called from HTML. (i.e. "Addhandler application/x-httpd-php .html .php" in .htaccess). He says it is a security problem. Is it possible to make a PHP counter WITHOUT using echo command? Thanks for your suggestions,
2
2857
by: gumbercules | last post by:
I am designing a site that is regulary updated with new podcasts. I would like to be able to have a counter next to each podcast showing how many hits/listens/plays/views each particular podcast has gotten. eg: podcast001.mp3 plays: 12 I have set up a column in a mysql database for each podcast called 'counter'. I then tried to make a php-javascript hybrid code with functions on onClick that went into and added one to the counter...
3
3096
by: DavidPr | last post by:
I made a website for a group of people and they want a visitor counter on it. I don't like hit counters because if the site is dead everyone will know it. But, it's their website. I did an Internet search but didn't find exactly what I was looking for. I did find an old tutorial, from which I've pasted the code below. I need it to be session controlled and I only want it to count unique visitors. I want to use a database to keep track of...
0
8840
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9367
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9215
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9064
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5981
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4753
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3189
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2576
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2130
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.