-
Posts
14,780 -
Joined
-
Last visited
-
Days Won
43
Everything posted by .josh
-
Yeah this is a known issue, really annoying. Enforcer is being naughty and...I don't know who is gonna fix it or when.
-
what, you mean there's no such thing as lowercase numbers?
-
umm...I don't get it. First you said the problem was that only the first one was showing. Now you are saying there's a new problem, that all of them are showing? Isn't that what you wanted? From your OP: edit: Oh wait, you are saying all of them besides the first one: It's because you have that mysql_fetch_assoc before the while loop. Remove that. Each time you call it, it moves the internal pointer of the result source var up one, so when you start your while loop, it's already been bumped once.
-
well i don't see you actually making use of that count(id) in your code, is it farther down your code and you just didn't post it? $count = myql_num_rows($query_get); would give you the same thing as $row['count(id)'] so you can just remove the count(id) from your select statement.
-
ooh good call, I didn't even bother to look at the query since he said it was returning results
-
either your table only has 1 row to return (calling the wrong table? check your db directly) or the lack of closing </th> tags might possibly be doing something funky with how the html is rendered.
-
-
well the first thing I see wrong is $string ='preg_split("/\.\(.*\)\.\(.*\)/", $file);'; You are trying to use a variable inside single quotes. Single quotes do not parse variables, so you are assigning the literal string $file not the value of that variable. You either need to put it inside double quotes or else break out of your single quotes and concatenate
-
try putting $run in single quotes.
-
well that really depends... "SEO Tool" is kind of a vague term... it could mean something to help you beautify your urls. It could mean a tool that scrapes your page and ranks the words/phrases to help you bid on keywords. Indirectly it could mean systems that enable A/B and MV tests to optimize your site.
-
related thread box as you create a new thread.
.josh replied to Anti-Moronic's topic in PHPFreaks.com Website Feedback
wouldn't be a problem if we adopted the policy of deleting "need help now urgent plz kkthx" threads with extreme prejudice. -
You need to be more specific than "it isn't working".
-
str_replace is not regex. It matches and replaces the literal string. so you don't need delimiters or escapes. So you would do $aVal2 = str_replace('{[','{',$aVa1);
-
$string = array_chunk(explode(' ',preg_replace('~[^\w\s]~','',$string)),2);
-
if your form method is POST then echo $_POST['adddirector']; if the form method is GET then echo $_GET['adddirector'];
-
mhmmm....suuuuure....
-
I lost badly the first couple times because I had never played the game before. Or any other RTS for that matter.... I think I got the hang of it pretty quickly, and I estimate I probably would have started to wtfpwn in a "holy shit..is that even possible? HAXX!!!" way in a couple more games. The game is completely predictable. Memorize the right sequence of icons to click and instant win. It's like they've never heard of RNG...I just don't see how people get off to RTS games, but I guess they probably say the same about my tastes, so w/e. I mean no offense, just not my cup of tea.
-
On the side of my lower right leg:
-
I'm not usually a fan of RTS games...closest I usually get to is TBS games. But since everybody seems to be splooging their panties over it, I thought I'd procure a guest pass (thanks KingPhilip!) and give it a try. If I had to sum up the whole experience in one word, it would be....meh. I played a couple 2v2 and 4v4 games with some phpf folks. Seemed to go 1 of 2 ways: either you get wtfpwned early on, or people pretty much leave you alone for a while, and it basically boils down to who can pump out a big army the fastest, whoever has the biggest guns wins. Overall it was somewhat fun, but I think that had more to do with just playing something with some friends in general and not so much the actual game. I then spent the remainder of my trial playing solo-campaign, did a handful of missions. TBH overall it wasn't that entertaining. Though I did like how you could play the galaga type arcade game in the bar, and how they had a hologram WoW night elf dancing (yes that's how they really look and dance in WoW if you've never played it) in the bar . To be fair, it was only the trial, so I was only able to do a handful of missions before my time expired. I did like how the gameplay varied a bit. One mission where you had to build up while escorting, another where the zerg came out at night so it was like coming in waves. Maybe it gets better along the way, idk...but overall ...what can I say? Gather some resources, build some shit, increase your army, click on enemies till they blow up. /yawn. I'm still looking for a game that's actually fun in a funny/entertaining way fun, and this just didn't do it for me :/
-
From the looks of your code, I assume your goal here is to only show 20 rows at a time and have some add/remove/delete links for each one. 1) It looks like you are running two separate queries: 1 with pagination offset/limits and one without. With the first query with the pagination offsets all you are doing is echoing out some column called "val". It looks like you need to remove the 2nd query altogether and move the add/remove/delete links into your first loop. 2) Your pagination offset relies on your $_GET['page'] variable. Well it looks like in your script you are using the 'page' url parameter for something else like signifying which content to display. So it looks like you need to pick a different variable to use for your pagination offset 3) I don't see anywhere in your script where you are actually generating any pagination links. Take a look at this tutorial about pagination .. I think maybe you aren't quite understanding what all goes into pagination.
-
wow man. This reminds me of this one time I bought this bum a sammich and he bitched cuz it wasn't made right. /golfclap
-
Yes we do, in the Freelance forum. You are right, it doesn't make sense to deny cooperation and collaboration of knowledge, especially when we are a resource and learning site. Which is why we most certainly do allow it. The reason you don't know why your post was deleted, was because near as I can tell, you have not even bothered to ask. Instead, you opted to assume negative things about us. For whatever reason, you opted to believe we would do a nonsensical thing. If anything doesn't make sense here, it's you're assumption of that. The apparently not-so-common sense thing to assume is like virtually every other community on the internet, we have rules, and that you, being a new member to the community, broke one or more of them. In the PHP Help forum, you made a post soliciting people for help on your project, pointing them at your website for signup. If you had bothered to read the rules you would know that that is not the type of thread that forum is for, and which forum that sort of thread belongs in. There are threads and posts and webpages all over the place and reasonably visible that explain the rules of posting on phpfreaks.com. Your failure to find them, read them or understand them is not a valid reason to not follow them or be immune to them. I don't know what you had hoped to accomplish by announcing your leaving to everybody because we suck (...in 2 different threads? Really?). You have virtually no history here, so who do you think would have take you seriously in your hasty judgment? I mean seriously, the only thing anybody around here knows about you put in your manifesto resume shameless plug introductory post. Which you spent much time talking about how you suck and don't get along with people.