ManiacDan
Staff Alumni-
Posts
2,604 -
Joined
-
Last visited
-
Days Won
10
Everything posted by ManiacDan
-
Php + Mysql Displaying Ranks Over Multiple Pages
ManiacDan replied to RyanWalsh3387's topic in PHP Coding Help
Wrap an outer query around this: SELECT * FROM (SELECT @whatever_up_there) Foo LIMIT 11,10 -
The time is not unique either, if the form has two file uploads, they'll be processed in the same second. "Use microtime" you'd say. uniqid() is designed to solve this problem.
-
The code you're using relies on features only available in the newest version of PHP. Your code is not backwards-compatible, so you have to either stop using it or upgrade. Simply removing the namespaces is probably too difficult.
-
Don't use that solution, it's not unique. Use mine.
-
Don't bother counting hours, just do: if ( date('H') < 15 ) { echo $days + 1; } else { echo $days; } Your question is just "I have the right number most of the day, but after 3pm I want it to be one less." Don't bother adding hours calculations into your function, just make it one less after 3pm.
-
Yeah, we need more information. Before/after, some examples, something.
-
See where you take $name from the file info?
-
I'm not really sure how you can get to 900 posts without knowing how to echo. Learning HTML is a very critical step to knowing web development.
-
"I NEED GET LIKE THIS" Translation: Similar to this, but with extra information which fundamentally changes the nature of the query
-
if URL_T is the URL field: <td><a href="<?php echo $record['url_t'];?>">click here</a></td>
-
Is the field named "decimal"?
-
Im got no idea what you're talking about. Show what your tables look like, give us 6 rows of example data from each table. Show what your desired result looks like.
-
They don't make movies about accountants, actuaries, HR representatives, or file clerks either. What we do isn't fun to watch.
-
How To Echo Option All Lowercase With Spaces Removed.
ManiacDan replied to flavaflav37's topic in Applications
Hi, please go read my post a little more, it contains an answer as well as an explanation of why your post cannot be answered (despite me answering it) -
Take the code you have, and if today is a business day, add 1 to your result.
-
Instead of taking $name from the file info, give it a new name. uniqid produces a unique string.
-
How To Echo Option All Lowercase With Spaces Removed.
ManiacDan replied to flavaflav37's topic in Applications
That thorpe meant is that your example code of what you want makes no sense at all, you say you want to echo a string lowercase with no spaces, then show how to access an array key using a key which is lowercase with no spaces, then show code which echoes the key (instead of using it as an array key) while simultaneously overwriting the array you showed in your first example. -
How To Echo Option All Lowercase With Spaces Removed.
ManiacDan replied to flavaflav37's topic in Applications
echo strtolower(str_replace(' ', '', $data['text_skill_one'])); Maybe. Who knows. Your examples conflict. -
If Column Contains Only Null Values Remove From Array.
ManiacDan replied to AnalyzeThis's topic in MySQL Help
He wants to eliminate ENTIRE COLUMNS where the whole column is null. -
You're correct, I was thinking there was a bare dot in the pattern. Congrats, btw.
-
Mitnick's book, The Art of Deception, is really good.
-
You're going to have to rewrite this in English, this makes no sense at all. Taking a complete shot in the dark: SELECT DISTINCT
-
I see a privacy policy link right there in your code, why do you believe it's not showing up right? Did your host not accept the files? Are you clearing your browser cache?