Jump to content

MDCode

Members
  • Posts

    640
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by MDCode

  1. You definitely want to make distinctions between hyperlinks and text. I was sitting there clicking in the top right corner until I viewed the source of the page. As well as the links on the left look just like plain txt. Also I'm not sure if it's supposed to have a large, white, vertical line to the right? If not, you need to fix in safari, firefox, chrome, and probably more.
  2. If both tables have a student_id column you need to specify which table to select it from.
  3. http://php.net/manual/en/regexp.reference.assertions.php
  4. 1. Use jquery or ajax. 2. Not really.
  5. Or not closing their echoes
  6. The error is clear, the directory doesn't exist. You are calling the the directory of storage by path and file. I think you mean $targetPath
  7. Pfft. Mine was so professional (not really now that I look at it). There is no way for a script to tell you where it's being run from without php setting issues
  8. You can not select form two tables like that, if you echoed mysql error you would see an error.
  9. What is the point of $q? You may need to post search.php
  10. And which errors would those be resulting in?
  11. Try putting a die; or exit; after each header();
  12. Use quotes around your query instead of apostrophes...
  13. Yahoo should be automatically setting up the path...if not you, need a new host.
  14. Same thing happens if you search for php. It just means that your search was too short.
  15. 1. Single quoted variables will not be parsed so $dn = mysql_num_rows(mysql_query('select id from users where username="'.$username.'"')); will always return empty. 2. Use the code tags when posting code
  16. You're going to have to show something because I have no idea unless you are not using session_start(); to start the sessions
  17. No one will do this for free. Post in the freelance section.
  18. <?php echo "$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]"; ?>
  19. If you require the file, all variables set in the file will be available by just calling that variable.
  20. You are going to have to be much, much more specific. Especially since the page doesn't load
  21. $_SESSION variables are case-sensitive and need to be all uppercase
  22. <?php echo __FILE__; ?>
  23. Use $.post to submit to another page and check everything you need on it. Then return the html result to a div
  24. I would make a separate php file. Submit the data to it and check on there, echo out anything you need because that is considered html. otherpage.php <?php echo "jquery ftw"; ?> jquery: // submit to other page $.post('/otherpage.php', {display: display}, function(data) { // will display jquery ftw in the displaycheck div $('#displaycheck').html(data);
×
×
  • 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.