Jump to content

Zane

Administrators
  • Posts

    4,362
  • Joined

  • Last visited

  • Days Won

    11

Everything posted by Zane

  1. although I do get your example. most of the time it's all about the output. If I'm programming and I WANT....ALL the variables...whether they're in an array, or empty or what. Then I would just use a simple foreach. but more often then not....I'd rather use it. Unless I can find a way to shorten my code with as few function calls as possible.
  2. get the most expensive and well paying insurance........find a friend on the inside and convince him to sabotage your mail and you'll pay him off. lol That there's a heist.
  3. this isn't the greatest information but it can't hurt http://www.phpfreaks.com/forums/index.php?topic=209414.0 pretty much you are looking for a Command Line Anti-Virus program for whatever OS your webserver is running. If you can find the perfect one....then get it and install it on your webserver and use the exec function
  4. $i = 1; foreach(explode($str, ",") as $u) { if(count(${"user" . $i})) == 3) $i++; ${"user" . $i}[] = $u; }
  5. follow this concept....don't copy it....it probably won't work function changeVideo(theVideo) { var so = new SWFObject(thevideo,'mpl','470','320','9'); so.addParam('allowscriptaccess','always'); so.addParam('allowfullscreen','true'); so.addParam('flashvars','&file=/flash.flv'); so.write('player'); } List of links
  6. now there's a nifty idea...I don't know why I have never thought of that that's so simple
  7. where does machineMfctr, machineType come into play on your question. you have a table of products correct.....and columns for machineMfctr, machineType, and "model"(I know it's called something else) which one has the duplicates?
  8. Hurray! he got it....topic solved
  9. looks like this question bares repeating if you want to echo a double quote.....the put a backslash in front of it should look like this in the end "pUnit:SendChatMessage(\"" . $Type . "\",0,\"" . $Say . "\");" or you can just use single quotes like I said earlier 'pUnit:SendChatMessage("' . $Type . '",0,"' . $Say . '");'
  10. Well, he's already double posted in the PHP Help forum anyway and got the answer he wanted so this thread is locked now http://www.phpfreaks.com/forums/index.php/topic,217439.0.html
  11. I'm just saying, that unless you have a specify crucial reason to use it There is no point in using javascript.... If we knew why he was passing it to Javascript in the first place, I'm sure things would make more sense
  12. http://www.phpfreaks.com/forums/index.php/topic,217452.msg995125.html#msg995125
  13. use single quotes instead echo 'pUnit:SendChatMessage(11,0,"Test")';
  14. the answer to your problems Google Webmaster Tools That is a really nice application you have there axiom
  15. but still, are you wanting to convert this timestamp with VB or with PHP what's the procedure you have going
  16. have you tried pUnit:SendChatMessage(11,0,"\"Test\"")
  17. I'm still lost on your question
  18. so this isn't a PHP question?
  19. Why through Javascript? why not just use a header() function header("Location: chat.php?id=" . $_GET['id']
  20. This question is better off in the Regex Forum.. I'll move it for you
  21. Fatal error: Call to undefined function: bigPapaSmurf1992() in /home/www/rsnolimits.awardspace.com/forum/login/weblogin.php on line 2 that function doesn't exist either so, hopefully I saved you some trouble
  22. I mispelled it, but yeah I "copypasta'd" it thanks for spotting that $yr = date("Y", strtotime($dt)); $mo = date("m", strtotime($dt)); $da = date("d", strtotime($dt)); $hr = date("G", strtotime($dt)); $mi = date("i", strtotime($dt));
  23. Actually you go about it like this $carriers = array(); foreach($response['ServiceInfo'] as $key => $val){ if($key == "Carrier") { $carriers[] = $val; } }
  24. SELECT targetColumn AS x, COUNT(x) AS y FROM users GROUP BY x HAVING ( COUNT(x) > 1 )
  25. instead of strval......use intval that's too much work. try this script instead $yr = date("Y", strtotme($dt)); $mo = date("m", strtotme($dt)); $da = date("d", strtotme($dt)); $hr = date("G", strtotme($dt)); $mi = date("i", strtotme($dt));
×
×
  • 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.