Jump to content

JohnTipperton

Members
  • Posts

    60
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

JohnTipperton's Achievements

Newbie

Newbie (1/5)

3

Reputation

  1. you can also use meta to refresh the page. <meta http-equiv="refresh" content="10">
  2. you need to use AJAX to be able to auto update it try this link http://stackoverflow.com/questions/8197487/javascript-auto-update
  3. here is a list of function you could use is_bool() - Finds out whether a variable is a boolean is_float() - Finds whether the type of a variable is float is_numeric() - Finds whether a variable is a number or a numeric string is_string() - Find whether the type of a variable is string is_array() - Finds whether a variable is an array is_object() - Finds whether a variable is an object
  4. try to check in phpmyadmin if the database exist.
  5. $con = mysql_connect("localhost","mysql_user","mysql_pwd");if (!$con) { die('Could not connect: ' . mysql_error()); }
  6. try this $result="INSERT INTO users(username,passwordHash,real_name,position,email,altemail,hnumber,mnumber,sysusername,sysnumber,nondisclosure,properconduct,termsofuse,perms) VALUES('$username','$passwordHash','$real_name','$position','$email','$altemail','$hnumber','$mnumber','$sysusername','$syspassword','$nondisclosure','$properconduct','$termsofuse','$perms')"; mysql_query($result,$con); the $con is the connection from the database its up to you on how to declare it
  7. you use only mysql_query without a connection to database like using mysql_connect
  8. try to check this one http://khtml2png.sourceforge.net/ it allows you to create screenshots of webpage.
  9. well if you are running out of time try to check this page http://codereview.stackexchange.com/questions/7501/login-validation
  10. your code seems ($_POST['submit']) declared twice what about putting it once.
  11. <a href="article.php/<?php $news->Title()?>"> you should put echo to <?php echo $news->Title()?>
×
×
  • 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.