Jump to content

revraz

Members
  • Posts

    6,911
  • Joined

  • Last visited

    Never

Everything posted by revraz

  1. Post it for people can help you fix it.
  2. I've seen a few PHP Editors that include the php engine in it for previewing. Some of them even mentioned you could use a External Browser to preview as well. Do a search for PHP Editors.
  3. PHP really doesn't know if the mail made it out of the mail server or not. Assuming your webhost alows mail() to run? Maybe your ISP is blocking the mail as spam? You could try just a simple one line mail() statement with the required data just to see if it goes through or not. But according to your code, there is nothing stopping the Thankyou page from appearing after you hit submit.
  4. So what is the actual question? Do you have any code?
  5. Yes, means you have a problem in your connection script to the Database. Didn't we go through this in another post yesterday?
  6. Which variable? Instead of echoing it, just turn it into a variable. $variable = "orig_name = " . $orig_{$row['name'];
  7. Depends, you can put it in a connection.php file and use it as a include or you can enter it on every page that requires the connection. It just has to be established before you do any DB related activities.
  8. Establish a database connection. $host="yourhost"; $user="username"; $pass="dbpw"; $db="dbname"; $connection = mysql_connect($host,$user,$pass)or die ('Unable to connect'); mysql_select_db($db) or die ('Unable to select DB');
  9. It will surely help prevent it.
  10. You don't have a DB Connection. So your Resource errors and your mysql_real_escape_string will also error since it relies on a DB connection.
  11. If your PHP server has the wrong path for session set path in the PHP.INI, then sessions wont work. Can you verify that?
  12. I've always used ( ) around mine, so try require ('inc/db.php');
  13. Looks good, i use this and it works. Maybe verify the name in the form matches the name in the variable. if (trim (strlen($uname)) >= 6) { if (checkUnique ("users", "uname", $uname) == FALSE) { $errorList[] = 'Username Taken, please try another Username'; } }
  14. Where is inc folder, one below your main?
  15. Is the path to the include correct? Do you have error reporting on so you can see an error if there is one?
  16. Most clients wont send back a receipt either.
  17. Use strtotime to add and subtract months http://us.php.net/strtotime
  18. '<TITLE>' .$page_title . '</TITLE> to <TITLE><?php echo $page_title; ?></TITLE> or <?php echo "<title>" . $page_title . "</title>"; ?>
  19. Searching google returned this http://www.phpbuilder.com/columns/equazcion20070502.php3
  20. Add % for the wildcard. We assume you knew that and included it in your variable.
  21. If you want it to work with future version of PHP you should.
  22. You need to wrap this in PHP and use Double Quotes '<TITLE>' .$page_title . '</TITLE>
  23. use session_start() with $_SESSION
  24. "SELECT * FROM topics WHERE systems LIKE '$id' OR topicid = '$topic' ORDER BY dateline ASC"
  25. Thats what I did in my previous post, but it appears he isn't reading what people are posting. He also isn't looking at any of the code or he would see where the errors were fixed.
×
×
  • 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.