im in need of some help coding a script for my needs.
so say i have some software that a user needs to enter there details (email address) are there email is checked against a database to see if they are a valid member.
when the user enters there email and click ok the software will go to a php script on my server to check if the user is active.
the url the software will go to looks like this
www.someurl.com/checkscript.php?email=hello@hello.com
the php scripts needs to do this
get the value of email=
connect to the database
go to a table called members
check a column called email
see if the value of email= is there
if not echo "some error text"
if found check
check a column called member_group_id
if a value of 8 is found
echo or print "correct response software is looking for"
if another value is found
echo or print "some user not found text"
Im really hoping someone can help as im lost and kinda new to php
any help much appreciated