Jump to content

cmgmyr

Members
  • Posts

    1,278
  • Joined

  • Last visited

    Never

Everything posted by cmgmyr

  1. All you need to do is put a query in where it is echoing it now: mysql_query("UPDATE your_table SET variable = ".$variable[$i]." WHERE something = 'a'");
  2. it's really up to you, you can also store them in a database...
  3. check this out: http://www.webdeveloper.com/forum/showthread.php?t=1101
  4. sorry didn't see your last post... try something like this: <?php $variable = myfunction(); for($i=0, $i<=count($variable), $i++){ echo $variable[$i]."<br />"; } function myfunction(){ foreach ($str as $strval) { $something[] = $strval; } return $something; } ?> *untested
  5. try something like this: <?php $variable = myfunction(); echo $variable; function myfunction(){ $sum = 2 + 2; return $sum; } ?>
  6. why don't you just search the internet for what you want and use www.php.net too? ...those are free
  7. one thing you can do is edit the php.ini file but your script should not be timing out with only 75 users...something else is wrong. Is there any specific page that is timing out or the whole thing? I would look at your DB queries first to make sure none of them are trying to get way too much data.
  8. Cingular in the States all the way! I've had them since they were Cellular One...atleast 5 years ago. They have been great and are always getting better. Plus they have the best phones. I have a few phones with them and have never had any problems with the phones and/or billing. GSM is the way to go also and you get a SIM card instead of having it programmed into the phone. With a SIM card you can just take it out and put it in a new phone! Lastly...Cingular doesn't put a lot of extra crap and programs into their phones...like verizon. My friend and I have the same phone and his is verizon and you can see a noticable difference in performance.
  9. true...your server AND your computer could blow up at the same time...only THEN will you be having a bad day
  10. Your last query line should be: $query = "DELETE FROM user_battles WHERE username='$username'"; (Semi-colon)
  11. The number of the line of the error is always after the error, so you always have to look up a little
  12. simplify your query to only update 1 column...if that works move on to the next until you find the one that is giving you problems.
  13. try deleting the files in question off of the server...then re-uploading them
  14. why don't you just clear the variables after you write it to the file? $variable = '';
  15. looks like you have to check your mysql username/password and access on your new server
  16. That would be good, or maybe have it be automatic after 10 lines? something like that
  17. Well it would be just easier to make it in phpMyAdmin. All it is is text and dropdown input boxes. Once you make it in there then you can export it as sql. But if you want to know how to make tables by hand check this out: http://sql-info.de/mysql/examples/CREATE-TABLE-examples.html you can also search for "mysql create table"
  18. one thing that I noticed with your player is that you can't drag the "time marker" forward then press play, you can only play from the beginning.
  19. looks good
  20. well i was talking about the video, but both are kinda gross...not that bad though. something to keep in mind though...you should look into doing what youtube does with "flagged" videos...users have to have an account and be over 18. I don't know if you have that or not cause I didn't even look, but it's an idea
  21. lol hope you didn't lose too much...
  22. Great job on the site it looks great. Video load fine. and yes the eye ball thing is gross...
  23. actually there is already one on the site: http://www.phpfreaks.com/tutorials/122/0.php ...why don't you just make your own?
  24. you would need to put it into sql format, why don't u just make the tables with phpMyAdmin?
  25. you can just about make any tag look the way you want it...perks of CSS
×
×
  • 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.