Jump to content

Maq

Administrators
  • Posts

    9,363
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Maq

  1. You need to create something like this pseudo: query for dates... while dates... start table... query for other info WHERE date = $query['date_from_other_table']... rows, cols, info inside them... close while... close table... close while...
  2. You should either use the $_POST or $_GET method. $_GET goes through the URL, $_POST is through input field. What do you want to do?
  3. -login fields are really big -signup for birthdate goes to 2010 I didn't go through everything but it looks pretty good. Couldn't find any major bugs, all features I used seem to be working, but like I said, didn't go through everything. Good job.
  4. This isn't exactly what you're looking for but it should help: Autoselect check boxes
  5. echo “Equipment ID $i=”.$listvals[$i].” \n”; It thinks the '=' sign is part of the variable. Put a space or if you want it concatenated you need to use '.'
  6. -The top nav is a little big and in your face. -When you register if your input is too long it overwrites the "LDC" and looks weird. -The registration content runs off the black container. -If you input something invalid in the registration is doesn't re-populate your info. -Registration should redirect to the starting page or w/e you have instead of saying Gangsta Made. -Went to buy some drugs and never got them Haven't gone through the whole site but it seems pretty buggy. I think it's a cool idea, even though there are many games like this.
  7. You need to use something like AJAX.
  8. I'm not sure. Obviously you can't have $my_letter = a; Looks like Dreamweaver changed your code around or something, but I'm not a DW expert. Maybe someone on here can help fix your problem.
  9. Can we see your code?
  10. What exactly happened? I only use dreamweaver to edit, not sure about their wizards and managers. Seems like it altered a lot of your code. Did you have a backup?
  11. That's awesome.
  12. I think you can use the new DateTime class then: $date = new DateTime($your_date); print $date->format('F j, Y');
  13. Taken from PHP.net // Assuming today is: March 10th, 2001, 5:16:18 pm $today = date("F j, Y, g:i a"); // March 10, 2001, 5:16 pm $today = date("m.d.y"); // 03.10.01 $today = date("j, n, Y"); // 10, 3, 2001 $today = date("Ymd"); // 20010310 $today = date('h-i-s, j-m-y, it is w Day z '); // 05-16-17, 10-03-01, 1631 1618 6 Fripm01 $today = date('\i\t \i\s \t\h\e jS \d\a\y.'); // It is the 10th day. $today = date("D M j G:i:s T Y"); // Sat Mar 10 15:16:08 MST 2001 $today = date('H:m:s \m \i\s\ \m\o\n\t\h'); // 17:03:17 m is month $today = date("H:i:s"); // 17:16:17 ?> Does this help?
  14. Ah OK, I just saw that.
  15. TOPIC SOLVED, nevermind MadTechie, I guess you got it.
  16. Yes, you have. The question is how to create the URL. Cause it may be 'index.php' and you would use a '?'. Or it may have 1 or more vars in the URL 'index.php?var1=abc' and you would need to use the '&'. The question is how to determine these situations...?
  17. I haven't been here that long but from what the description seems like the button has been in the same spot for quite a long time, so what's the difference of how old these threads are? Again, it was just a suggestion and obviously it's not favorable.
  18. Maq

    ?= pages

    All that you really need to use is their unique identifier whether it be their ID, name, email etc. because that's what you'll need to use to look up that person in the DB and pull out their information. Thorpe has an excellent example that uses basic concepts for you to use.
  19. Looks like you have some syntax errors not get and post. Change these lines echo("Variable before going into the function = " . $someNum); $results = square($someNum); echo(" Variable after going into the function = " . $someNum . " Results of function = " . $results);
  20. This is what matters, not the probability of how often the gc process starts. It wouldn't matter because the gc process wouldn't see the session as garbage until after the set number of seconds has passed, even if you set the probability to 1/1.
  21. His question is how does he know if it's: www.mysite.com/index?var1=abc OR www.mysite.com/index?var1=abc&var2=def So basically how does he know when to add ?var= or &var=.
  22. ini_set("session.gc_maxlifetime", 60);
  23. Maq

    ?= pages

    What exactly do you mean? Are you asking how to use the $_GET method. In that case you just create a link with the variables attached on the end like:
  24. You need to make the column a link or have a link next to it. So the when you click on it it changes the query to ASC and when you click on it again it changes to DESC. You can just pass it through the URL with $_GET method.
  25. Sure, of course you can. You can either add it yourself or buy another 3rd party script that will add it in. There will be a lot of modification either way.
×
×
  • 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.