Jump to content

Maq

Administrators
  • Posts

    9,363
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Maq

  1. Let's look at question #1: You need to have a unique ID. So in your users table have a field called, "id", and have it auto-increment. You have to have a field in the SCREEN table called, "user_id" so it knows which id goes to each record.
  2. Check out limit. LIMIT $start, $how_many_from_start); Maybe recursively?
  3. Do you have any specific problems/issues/errors?
  4. SHA($p) What is SHA? A function or hard coded text?
  5. Try: $query = "SELECT UserID FROM Users WHERE UserName='" . $u . "' AND Password=SHA('" . $p . "')";
  6. I also use NetBeans IDE and Dreamweaver. I like NetBeans the best out of free/non-free environments. Dreamweaver is good if you can cough up the money but NetBeans has everything you need and good online support.
  7. Maq

    analize this

    I agree with neil. Google will have poor indexing for you pages. Some other things I noticed: -You should have your top navigation in the iframe with your header. -Your header graphics look poor, the text looks fine. -Space everything out more, pages are crammed. -They are kind of boring, same thing on every page. I understand you want to keep your theme, but add some pictures, more text, etc...
  8. Have you tried echoing out your values to make sure they're correct?
  9. Is it a pre-set of rows? Is it supposed to expand automatically and add line numbers? Or is it supposed to return the result with the line numbers?
  10. $sql = "SELECT id,username FROM `users` WHERE ='".$SESSION['uid']."'"; See something missing? After WHERE you have a variable. You need to compare $SESSION['uid'] with something... WHERE field_user = '".$SESSION['uid']."'";
  11. Hehe, happens to all of us!
  12. You're calling the include(../functions.php) from "/home/u3/markmax33/html/Beta/testme.php"? Then make sure that functions.php is in the Beta folder.
  13. Google, cron job.
  14. Hehe, error_reporting(E_ALL); is your best friend...
  15. Could you please provide an example, I don't think I fully understand your problem.
  16. Don't see how this is possible if $x isn't even defined...
  17. Post the code for some_function(); Are you sure you have the correct dir path for the include?
  18. The only time you don't need quotes is for integers.
  19. Try this, not sure if it will help... $upd_sql = "UPDATE '" . $userRegTable . "' SET accountLastActivity = '" . $now . "' WHERE userName = . '" . $user . "'";
  20. $upd_sql = "UPDATE $userRegTable SET accountLastActivity='$now' WHERE userName='$user'"; Should be: $upd_sql = "UPDATE '$userRegTable' SET accountLastActivity='$now' WHERE userName='$user'";
  21. $max_clients = 1000000000; while (true) {
  22. Maq

    [SOLVED] Mapping folders

    Sorry to resurrect this topic, but shouldn't the data in the destination folder be viewable and the same as the source?
  23. Glad I could help. You got that right...
  24. Look up explode. You can explode a string into pieces with a delimiter as a line break. After that, use a for loop to loop through and display as many lines as you want.
  25. Don't know if it helps but Javascript has a function similar to PHP's $_SERVER['HTTP_REFERER']; document.referrer
×
×
  • 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.