cmgmyr
Members-
Posts
1,278 -
Joined
-
Last visited
Never
Everything posted by cmgmyr
-
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'");
-
it's really up to you, you can also store them in a database...
-
check this out: http://www.webdeveloper.com/forum/showthread.php?t=1101
-
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
-
try something like this: <?php $variable = myfunction(); echo $variable; function myfunction(){ $sum = 2 + 2; return $sum; } ?>
-
why don't you just search the internet for what you want and use www.php.net too? ...those are free
-
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.
-
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.
-
true...your server AND your computer could blow up at the same time...only THEN will you be having a bad day
-
Your last query line should be: $query = "DELETE FROM user_battles WHERE username='$username'"; (Semi-colon)
-
The number of the line of the error is always after the error, so you always have to look up a little
-
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.
-
try deleting the files in question off of the server...then re-uploading them
-
why don't you just clear the variables after you write it to the file? $variable = '';
-
looks like you have to check your mysql username/password and access on your new server
-
That would be good, or maybe have it be automatic after 10 lines? something like that
-
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"
-
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.
-
looks good
-
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
-
lol hope you didn't lose too much...
-
Great job on the site it looks great. Video load fine. and yes the eye ball thing is gross...
-
actually there is already one on the site: http://www.phpfreaks.com/tutorials/122/0.php ...why don't you just make your own?
-
you would need to put it into sql format, why don't u just make the tables with phpMyAdmin?
-
you can just about make any tag look the way you want it...perks of CSS