Jump to content

Jessica

Staff Alumni
  • Posts

    8,968
  • Joined

  • Last visited

  • Days Won

    41

Everything posted by Jessica

  1. If you don't include all the additional headers, it's more likely to be marked spam.
  2. You need to surround strings in SQL with quotes. $query= "SELECT * FROM users WHERE uemail = '$e' and upass='$p'";
  3. You did the same thing here: <?php $_SESSION['message'] ?> Look through and fix those, and then if you still can't get it, post the new code and we'll help.
  4. I can't help you, maybe someone else can. Best of luck.
  5. action="<? $_SERVER['PHP_SELF'] ?>" Should be action="<?=$_SERVER['PHP_SELF'] ?>" or action="<? print $_SERVER['PHP_SELF']; ?>"
  6. So it looks like the object isn't being created properly, since it has no properties. I don't really understand what you're trying to do here. What is "Thomas"? What is a textnode anyway? Gah!
  7. I was about to try to help you, then I recieved a PM asking for help. The forum rules state NOT to PM members asking for help. If you have a live example, post a link, so we can see WTF you meant by "wipes away".
  8. look through the array functions. Perhaps array_merge then array_unique?
  9. After $textNode=$dom->createTextNode("Thomas"); Add print_r($textNode); What does it say?
  10. clicking on an # link doesn't reload the page, it simply jumps down to the link, so the page doesn't get reloaded, and the url won't get messed up.
  11. You could have a function like tableRow($tds){     print '<tr>';     foreach($tds AS $td){       print '<td>'.$td.'</td>';     }     print '</tr>'; } Is that what you mean?
  12. It can only tell if the mail was accepted for delivery. There are other factors that can stop mail from being sent or recieved, which PHP cannot tell.
  13. To correct your errors, we'd need to see your code to tell what you're doing wrong.
  14. Those are still numbers. use ksort(), then foreach to go through and get the last one. ksort($arr); foreach($arr AS $k=>$v){ $key = $k; } print $k.
  15. sort(); then $array[0] Because of the formatting of your post it's a bit confusing what you're trying to do.
  16. And what's the problem? When I click it, text shows up.
  17. Well, you're not passing it anything to be $db, so...that's why you're getting the error that you're not passing it an argument.
  18. You can't have a space in a field name, First Name isn't a valid field name. (Or if I'm wrong, you need to escape it by using backticks, ie: `First Name`)
  19. It helps if you show the code for the page that is producing the error, where you call TotalTeams();
  20. after you insert it use $id = mysql_insert_id();
  21. "Could you achieve this easily with the addslashes function???" Yes, or you could use htmlentities
×
×
  • 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.