Jump to content

Maq

Administrators
  • Posts

    9,363
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Maq

  1. I do this because the way my table is layed out, a single node ID can correspond to multiple titles. Say, an Item is rated "best" in multiple categories. You shouldn't keep comma delimited strings in your DB. If you have a node with multiple titles then you should have multiple records for that node.
  2. http://www.phpfreaks.com/forums/index.php/topic,119433.0.html
  3. EDIT: Nevermind, there is a link to the site... I really like those stars, but it also depends on what the style of his website looks like and if there is any kind of theme or look to it.
  4. Works fine for me, guess I'm special
  5. I know, you just suggested cutting them to half the size... When I think about cold I think about dark colors, and when I think about hot I think about light florescent colors. I would do something like: dark blue light blue yellow orange red or I found this color spectrum looking thing on google images: http://www.rockware.com/rockworks/revisions/continuous_rose_01.png
  6. I didn't run the script since its designed to delete accounts. i wrote it inside phpDesigner and it highlighted that line with the error. So why didn't you show us that line from the beginning?
  7. You'd be surprised...
  8. What exactly does the error say, specifically line #?
  9. That seems like a reasonable size. As for color, you should do dark to light, IMO.
  10. You should also have single quotes around values that aren't integers.
  11. If you're in school, they may only allow root to edit the crontab but you can still try follow the tutorial, you go into the console and type in "crontab -e" to edit the cron tab. Then you have to read the tutorial for the time format, and you just give it the path for the script you want to run.
  12. Why don't you try? For linux use the crontab, for windows use scheduled tasks. Assuming they're linux servers, this looks like a decent tutorial: cron jobs.
  13. Is there anything specific that you want to start with?
  14. Try: $d = "2009-03-09"; $new_date = date("jS M y",strtotime($d)); echo $new_date; ?>
  15. Your colors are dull and boring... spice 'em up a little!
  16. And what exactly are these for...?
  17. Just replace $number with $client_primary_job...
  18. That link displays a blank page for me.
  19. Why not build your own?
  20. That's funny, going to take a look at date() functions code...
  21. I think d_date_format is supposed to be a variable ($)? $d_date_format
  22. ken's answer works, I also answered in your other thread with the same solution...
  23. Yeah it's because in the code you showed before you had an error here: ( extra '}' ) if(mysqli_stmt_num_rows($rsult)==0){header("Location: http://www.mysite.com");} To shorten your code, you can use: if ($found == 0) header("Location: http://www.mysite.com"); Instead of: if ($found > 0) {} else {header("Location: http://www.mysite.com");}
  24. Hmm, that's weird, this problem almost always is caused by output, even whitespace, before you invoke this method.
  25. I always use shell_exec() and never have a problem. How are you running this script?
×
×
  • 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.