Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,178,848 members, 7,906,124 topics. Date: Wednesday, 31 July 2024 at 05:35 AM |
Nairaland Forum / Science/Technology / Programming / Creating Scratch Card Application (3509 Views)
Can Blog Be Develope From Scratch Without The Use Of Wp Or Blogger? / Who Says Nigerians/africans Cannot Be Creative And Build From Scratch / Scratch Card As A General Programming Tool (2) (3) (4)
Creating Scratch Card Application by friendehis(m): 1:22pm On Aug 02, 2010 |
Hey guys i need some help in completing a PHP school application that i am developing. Please i need gude on how to code an application like JAMB, WAEC in which student can register online to an application using a pin and serial number. just like what is been done our examination body web sites. |
Re: Creating Scratch Card Application by javabeasns: 8:30pm On Aug 02, 2010 |
I am developing one currently but using .Net check it out on www.logiss.net. Click on admissions. use 12345ABCDE as PIN. Let me have ur feedback on david.adele@bluesten.com or 08035133522 Thanks 1 Like |
Re: Creating Scratch Card Application by fatezy(m): 8:33pm On Aug 02, 2010 |
u cld create a database that wld contain registered pins. When som1 tries to log in, it checks if the pin is regisered and has not been used. U can get pin/password generation algorithm online to generate required pin. |
Re: Creating Scratch Card Application by friendehis(m): 8:53pm On Aug 02, 2010 |
@fatezy I understand the logic behind it, But i need a sample code on PHP that will assit me in concluding the coding. I ave already started but was stuch in the middle. i ve succeded in checking if pin exist in database or not but i want to still verify if that same card have been used by someone else or not before display the registration form Here is my process 1 Check if pin is valid (exist in database or not) 2 If it does check if that pin is in use or not 3 else invalid pin One a pin pass the two processes of verification (If pin exist in database and if pin is in use by another or no), registration form can now be displayed |
Re: Creating Scratch Card Application by fatezy(m): 10:01am On Aug 03, 2010 |
I dnt use PHP So unfortunately, I cant give u a code sample. If i gt u ryt, the problem is knowin if the pin has already been used. U cld create a column, name it used and once som1 registers with the pin, it updates the pin row and sets d used column to true. Only pins with the used column not set to true can b used. Hope dis algorithm wld help Select used where pin = pin if pin exists and used <> true register update used, set to true else invalid pin Hope that has helped. |
Re: Creating Scratch Card Application by friendehis(m): 11:13am On Aug 03, 2010 |
@fatezy Thanks for that idea. Hey i dont mind if i ve some code sample in the language you are using. I can study codes and use the logic behind the idea to come up with a solution in the language i am use to. I deeply appreciate your concern broda. Best wishes to you |
Re: Creating Scratch Card Application by fatezy(m): 10:04pm On Aug 03, 2010 |
use vb.net. I browse majorly with my phone bt wld try to snd u sample code a.s.a.p |
Re: Creating Scratch Card Application by mj(m): 4:35pm On Aug 05, 2010 |
I've really busy, I could have taking tym to write it for you, pardon me, create a field in your database called usedpin having a default value 0, when a user registers, set the usedpin=1, whenener if (usedpin=1) { echo "Sorry this pin has been used"; } If u are not in a hurry mail me.I will get done for u , oshadami_mj@yahoo.com 1 Like 1 Share |
Re: Creating Scratch Card Application by sayhi2ay(m): 5:10pm On Aug 05, 2010 |
if you already have a code to check a column in the database, why not use same logic to check a different column ? |
(1) (Reply)
Garage48 Winner's Idea - "A call Center Application"? / Help! I Need A Hacker To Recover A Facebook Account / Nigeria's Own Facebook(social Network)
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 14 |