floridaflatlander
-
Posts
671 -
Joined
-
Last visited
-
Days Won
1
Posts posted by floridaflatlander
-
-
I've searched for this and it seems it should work but it doesn't.
As I under stand it, INT stores an integer in total up to 2 billion plus and if a length is assigned like int( 8 ) only 8 charcters of that length will be displayed.
But my problem is if I put in more than 8 charactors they are all displayed, can someone tell me whats up?
Thanks
-
I see a difference, I think the div that has sharing, increases and trending should be clear both. In ie8 it's look like it's in the right column, in 9 & firebox it's across the bottom.
-
Hit the wrong buton
-
the only reason they are like that is because when they were in one file everytime i had to work on say... the footer, id have to scroll for 10 minutes until i got to where i wanted.
I know what you mean, an old wordpress theme I had was like that and the css for this forum is probably like that. Close to 4k lines
Study your css to see where you can cut out styles to eliminate duplicates. Also plug your site URL into these sites to get a heads up on your code. You can also direct input
css: http://jigsaw.w3.org/css-validator
html: http://validator.w3.org
Website Optimization: http://www.websiteoptimization.com/services/analyze/
-
The first thing a browser does is load each one of those files along with the header for those files first each time you load a page.
I'd combine them and if possible use an if condition to include special css on certain pages.
-
Yeah, I was attending a school in Pennsylvania for the past four years, now it is Cornell for me.
Proud of you for going to Cornell, some friends of mine have kids in the Vet school. One of the kid's parents is a vet school grad and the other a Dairy school grad.
-
Hall of Famer, are you in the states?
That's interesting, my states main engineering school UF is just down the road, I wonder what they would say? My son doesn't go to UF but was probably talking about freshman because that was who was there mostly this summer. The Fall semester started this week.
On a lark last night I looked at Apple laptops, they cost real money.
-
I just looked at my google analytics and ie is 43% of my visitors, of those ie users 0.22% use ie6 and 9% of that 43% use ie7.
Is that 9% of the 43% as in if you had 100 users, that's 9 users or if you had 100 users that'd be ~4 users?
4 users, 9% of 43
-
Thanks for the input! 9% is still a large number of people using ie7 ...
IE's compatibility mode takes care of that. As a double check you can use a service like IE Tester to test for 6 & 7. As far as IE's compatibility mode goes it does not check for ie6.
Also someone knows phpfeaks g.. analytics numbers, they do use it.
-
Apple's niche market is hipsters. College is filled with them.
That's kind of what I thought. If I had to guess, almost everyone has an iphone. I'm also guessing some of the laptops can be company/product loyalty spill over.
-
Your line of thought makes no sense. You said he's going to school for football, and everyone uses Apples. Then you say geeks didn't like apples. Well football players don't tend to be geeks, so if you're going to make broad assumptions at least make them make sense.
My son recently started school at a major university and he told me that almost every laptop you see, is an Apple, very few of the college kids students use a windows based machine.
I took out the parentheses for you, does that make it easier?
-
My son recently started school at a major university(in football not academics) and he told me that almost every laptop you see, is an Apple, very few of the college kids students use a windows based machine.
Back twenty years ago the geeks made grunting noises every time someone said the name Apple.
What's changed? Is this common?
Also he might have been hitting me up for a new laptop and I just figured it out.
-
I just looked at my google analytics and ie is 43% of my visitors, of those ie users 0.22% use ie6 and 9% of that 43% use ie7.
Safari is 21% of the total and Firefox is 12% of total
All I do now is use firefox and ie9 and ie's compatibility mode. Everyonce in a while I take a glance in Safari.
-
I think businesses MAY be eligible for federal assistance if they live or own a business in a county declared a major disaster area by the President.
I am sure there are many hoops to jump through.
If it's a business expense, it's not even covered under his HOME owner's insurance. You need separate insurance for business property.
It may be different now but years ago I had a cheap rider that allowed for 5-10k(somewhere around there) in business equipment at my house.
I want to say 10k but that seems like alot for twenty plus years ago.
Of course I bought a computer with 256k of ram, 20 mg running at 20 ghv for 3k, I thought I was the man.
-
I would have already contacted my insurance company already if I was you.
-
I dont have flood insurance 5 grand down the drain.
There was a flood? First you said it rained, there is a difference to the man.
-
I think businesses MAY be eligible for federal assistance if they live or own a business in a county declared a major disaster area by the President.
I am sure there are many hoops to jump through.
-
LOL, what a hoot
I think they're going to laugh at you from behind their nice, dry stacks of money that you gave to them.
Are you in the states? Are you around Isaac? If so FEMA may help
-
Worked great Pikachu... and yes I remembered to turn apache on & off for testing
Thanks everyone
-
Thanks everyone, I'll test and come back and mark solved, hopefully.
-
I don't think that's a function that exists
so ...
if (function_exists(magic_quotes_gpc = on)) {
stripslashes()
mysqli_real_escape_string()
} else mysqli_real_escape_string()
-
Maybe a session and if for some reason there is no session ... back to the index.php
-
http://php.net/manual/en/function.function-exists.php says "Return TRUE if the given function has been defined" so ...
if (function_exists(magic_quotes_gpc)) {
stripslashes()
mysqli_real_escape_string()
} else mysqli_real_escape_string()
would be how I would use it?
-
I have a small site and right know for strings I use mysqli_real_escape_string. However when moving me to another server my provider left magic_qoutes on. So strings started adding slashes in code I wrote (but not in wordpress and smf for some reason(?)).
I've emailed them and informed then that I wanted the m_qoutes off. This is the second time this has happened in a year and a half.
Anyway, would it be bad form to have stripslashes() just before mysqli_real_escape_string as back up?
Length if INT out put
in MySQL Help
Posted
So this means I have to limit characters on input?