473,606 Members | 2,885 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to check color font in php for checking data form

1 New Member
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. }
Aug 11 '18 #1
0 1825

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

Similar topics

2
1595
by: Alistair | last post by:
hey peoples. I have a simple form (currently two fields) which is then passed to an ASP page thats stores the data in a dbase I have an error checking script which I can't get to work. the script is : <script language="JavaScript">
3
2116
by: David C. Allen | last post by:
I am following thru the examples in the book I am studying for my MCSD. This is the web applications book. One example is to use the data form wizard to create a simple data form on the northwind customers table.When I try to run the code after the wizard has generated the form I get several compile errors like this: D:\Projects\DOTNET\MCSD\70-305\305C05\dsCustOrders.vb(86): Reference required to assembly 'System.Xml' containing the...
1
1504
by: Chuckles | last post by:
Ok I am attempting to build a training database that records the employees training required vs. training received. My problem lies in the fact that the jobcode(s) assigned to that employee determines what training is required. I need to have a form that 'checks' a employee/jobcode table(which contains a jobcodenum field and a employeenum field) to make sure that employee is required to take that course. for example: when I press a cmd...
5
1323
by: D James | last post by:
Scott Mitchell published an article (on the 4GuysFromRolla site) on checking whether data has changed on a page before allowing a user to leave the page. I have used his solution and created a class, ClientSidePage, which inherits system.web.ui.page. In my main page (with the fields to be checked) I have used inherits ClientSidePage. When I try to run the main page none of the normal events (like page_load) can be found as if it isn't...
1
2929
by: Jeff Brown | last post by:
I am developing my First "Real" app and i am running in to the following problem. I use the data form wizard to create a form, so i do not have to manually do all the binding. But the only thing i want the user to be able to do on this form is Add a record. I tried moving the fill dataset in to the form load to get rid of the "load" button and that worked but it also loads data into my textboxes. Ok i could code around that ....
11
3550
by: Doug Bell | last post by:
Hi, I am trying to create form that displays data like an Access continuous dataform rather than using a data grid. I am thinking that I can achieve this by creating a row of text boxes, one for each field I need to display. The creating a controls array for the first n records I show and populate the text boxes. Then setting up a vertical scroll bar for the number of records in the data table. As the scroll bar is clicked or dragged,...
6
5992
by: Bob | last post by:
I've located instruction as to how to add the Data Form Wizard into a VB.NET 2005 project at this location. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsintro7/html/vburfdataformwizard.asp However no matter how hard I look I can't locate it. Any ideas what is wrong or is the documentation in error and this feature has been removed from VS.NET 2005
1
2521
by: porkchop | last post by:
I have made a check mark box on a form to populate text boxes. (a convience for data entery people, for same data, check mark) This form is viewed as a continuous form, and when we check mark the box, in the next form, the box is allready check marked, I want to prevent/stop that. Help! The code: Private Sub Check56_Click() If Check56.Value = -1 Then Me! = Me! Me! = Me! Me! = Me! Me! = Me!
3
1350
by: gina farrow | last post by:
I have forms that I need four people to look at and be able to put a check on the form that they have seen it once check cannot be unchecked. the form goes to the next person to check it. when it has gone through all the people that checked at the end put all information in table with the outcome of all the checks.You should be able to see who has looked at form and who has not on the form that they are reviewing.
2
1971
by: Sukanta Biswas | last post by:
I Want To Change Background Color, Font Size, Font Color etc.
0
7962
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8456
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
8443
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...
1
8107
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8315
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
6792
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5467
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
3989
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2452
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

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.