Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,473
There are 2166 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     Programming     PHP and MySQL :

Few things i need help with please!

Thread title: Few things i need help with please!
     
    Thread tools Search this thread Display Modes  
Prev Previous Post   Next Post Next
05-12-2008, 06:17 PM
#1
JamieH is offline JamieH
JamieH's Avatar
Status: I love this place
Join date: Jan 2006
Location:
Expertise:
Software:
 
Posts: 533
iTrader: 10 / 100%
 

JamieH is on a distinguished road

  Old  Few things i need help with please!

I want to be able someone to use my signup form.. but if they type an email that already exists in my database i want to be able to send them an error,

i assume i'll be using the "if" command, i'll be using some kind of code like this i take it?:

Code:
<?php

if ($_POST[teamname] = somecode here)
    echo "The email you chose to signup with already exists! Please choose another!";

?>
What code would i put after the if ($_POST[email] = ???????)

and what is the best way to use an error on the same page?

If someone could help i'd be more than happy to give +REP.

Many thanks,
Jamie

     


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed