423,099 Members | 2,436 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 423,099 IT Pros & Developers. It's quick & easy.

How to check color font in php for checking data form

P: 1
Q: How to check color font in php for checking data form

This is what I did in my php but the color is in black

Expand|Select|Wrap|Line Numbers
  1. if(isset($_POST['email']))
  2. {
  3.  $email=$_POST['email'];
  4.  
  5.  $checkdata=" SELECT email FROM registration WHERE email='$email' ";
  6.  
  7.  $query=mysqli_query($db,$checkdata);
  8.  if(mysqli_num_rows($query)>0){
  9.  
  10.   echo "Email Already registered";
  11.  }
  12.  else
  13.  {
  14.   echo "AVAILABLE";
  15.  }
  16. exit();
  17. }
3 Days Ago #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.