Jump to content

trq

Staff Alumni
  • Posts

    30,999
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by trq

  1. $cat = mysql_real_escape_string($_POST['D1'])); $result = mysql_query("SELECT * FROM {$table} WHERE `cat` = '$cat' LIMIT 10 ");
  2. Care to post the relevant code?
  3. html isn't a programming language and isn't capable of doing anything except describing data. jQuery (Javascript) could probably do what your after.
  4. Yes. Stick with PFMaBiSmAd's suggestion and post the output of.... echo "<pre>"; echo "GET:"; print_r($_GET); echo "POST:"; print_r($_POST); echo "</pre>";
  5. There should be ways of handling this through server configurations, are you using Apache?
  6. When within your LAN you will get the computer name as a hostname.
  7. You do have a few syntax errors in there now too... these two lines..... $message = "telephone: ". $_POST['strtelephone']"\r\n"; $message .= "message: ". $_POST['strmessage']"\r\n"; should be.... $message = "telephone: ". $_POST['strtelephone'] . "\r\n"; $message .= "message: ". $_POST['strmessage'] . "\r\n";
  8. I edited my post, I think its more like 7 years. Anyway, instead of $strtelephone use $_POST['strtelephone'].
  9. The examples you have been using are obviously VERY old code that relied on register globals being on. This has been off by default for over 7 years. The data you require will be within the $_POST array. eg $_POST['strtelephone'] & $_POST['strmessage'].
  10. Have you looked at the examples in the manual? mail Where exactly are you stuck?
  11. Where are $strtelephone and $strmessage defined?
  12. This is simple using jQuery. Its load() method takes a url optionally followed by a selector. See http://api.jquery.com/load/
  13. Here is a nice reference manual, look them up.
  14. Post your code. Your obviously doing something incorrectly.
  15. What exact data are you getting and not getting? Your problem isn't exactly described very well.
  16. A quick Google of the subject points to a System.Diagnostics.Process class. I'd take a look at that.
  17. Check out the 'force dowwload' script within the Faq/Code snippet repo board.
  18. This topic has been moved to Other Libraries and Frameworks. http://www.phpfreaks.com/forums/index.php?topic=307948.0
  19. Undefined indexes are a pretty simple error. The array index you are trying to access does not exist. Undefined variables are the same, you are accessing a variable that doesn't exist.
  20. There is no need to close connections because of garbage collection.
  21. Sounds like your fishing for someone to write the code for you instead of learning from examples. That's not the point of this board. Post your request in the freelance board after you've read the stickies.
  22. You can simply do.... UPDATE tbl SET fld = fld + 1 WHERE fld = 45;
  23. This topic has been moved to Ajax Help. http://www.phpfreaks.com/forums/index.php?topic=307874.0
×
×
  • 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.