Jump to content

rgopal101

Members
  • Posts

    11
  • Joined

  • Last visited

rgopal101's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Plz Say me what you want output of join two tables
  2. there is error in fbconnect file check it manually..
  3. <?php session_start(); ob_start(); include"config.php"; if(isSet($_SESSION['uid'])) { header('location:index.php'); } ?> <form method="post"> <table style="border:1px solid; margin-left:325px;" cellpadding="5" cellspacing="5"> <tr> <td colspan="3" align="center"><font color="#FF0000"> <?php if(isset($_POST['login'])) { $email=mysql_real_escape_string($_POST['email']); $pass=mysql_real_escape_string($_POST['password']); $pass=md5($pass); $q="select * from user where email='$email' and password='$pass'"; $a=mysql_query($q);$no=mysql_num_rows($a); if($no==1) { while($row=mysql_fetch_array($a)) { $verify=$row['active']; $id=$row['id']; } if($verify==1) { $_SESSION['uid']=$id; header('location:index.php'); } else { echo "Your Account is Not Activated !!";} }else { echo "Incorrect Username or Passwword"; } } ?></font></td> </tr> <tr> <td>Email</td><td> :</td><td><input type="text" name="email" Required/></td> </tr> <tr> <td>Password</td><td> :</td><td><input type="text" name="password" Required/></td> </tr> <tr> <td colspan="3" align="center"><input type="submit" name="login" value="Login"></td> </tr> </table></form>
  4. the date picker can't work if u use the value="some thing". if u want to see the date from the database then remove the id of the input . here you can change the date manual not by using the date picker.
  5. in this section what you want to change by change the database ,like for some time or for particular user or particular page what is the purpuse of this..?
  6. so ..how can i help you can u give me your site detail.. contact me on rgopal101@gmail.com
  7. can you want the result if fill only one field...?
  8. hello, there is problem in your query is work only when you fill all the field and all field are match then is show one or more rows .. If you want I fix your problem ?
  9. try this, $attribute = invoer_schoonmaken($_POST['attribute']); or $attribute = $_POST['attribute']; $attribute=invoer_schoonmaken($attribute);
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.