Search found 789 matches

by EcazS
Thu Sep 27, 2012 7:05 pm
Forum: PHP
Topic: Phone number validation
Replies: 22
Views: 3452

Re: Phone number validation

No, use elseif. Read the link I posted...
by EcazS
Wed Sep 26, 2012 10:00 am
Forum: PHP
Topic: Phone number validation
Replies: 22
Views: 3452

Re: Phone number validation

Still need the actual function don't you? Read the post I made before?... It could be like this, [syntax=php] if(startsWith(91)) { true }else { if(startsWith(92)) { true } } [/syntax] but you can continue on with elseif and have a "default" else later, read up on this link m Furthermore, ...
by EcazS
Wed Sep 26, 2012 9:32 am
Forum: PHP
Topic: Phone number validation
Replies: 22
Views: 3452

Re: Phone number validation

You could just do
[syntax=php]
if(startsWith(91)) {
true
}elseif(startsWith(92)) {
true
}
[/syntax]
Not pretty but if the function works I don't see why not.
by EcazS
Wed Sep 26, 2012 8:46 am
Forum: PHP
Topic: Phone number validation
Replies: 22
Views: 3452

Re: Phone number validation

Not sure if this one works or not, but you can try it.
http://stackoverflow.com/questions/8343 ... -functions
by EcazS
Wed Sep 26, 2012 8:44 am
Forum: CSS / Styling
Topic: Footer looks like header
Replies: 6
Views: 2329

Re: Footer looks like header

[syntax=css]
#footer {
position: absolute;
bottom: 0;
}
[/syntax]
by EcazS
Mon Sep 24, 2012 8:35 am
Forum: General Chat
Topic: A Very Useful Website
Replies: 10
Views: 1767

Re: A Very Useful Website

Works for me too, using chrome.
by EcazS
Sat Sep 22, 2012 11:06 pm
Forum: PHP
Topic: Infinite Submenu
Replies: 3
Views: 729

Re: Infinite Submenu

Yes... I could do that...
by EcazS
Thu Sep 20, 2012 1:02 pm
Forum: PHP
Topic: blog a Tutorial by jacek
Replies: 8
Views: 1319

Re: blog a Tutorial by jacek

After your query add,
[syntax=php]
echo mysql_error();
[/syntax]
It will give you a more detailed description of the error.
by EcazS
Thu Sep 20, 2012 11:06 am
Forum: Introductions
Topic: hello guys
Replies: 7
Views: 21090

Re: hello guys

Welcome to the forum!
by EcazS
Wed Sep 19, 2012 12:48 pm
Forum: Other
Topic: Random Question: fix URLs in my browser's history?
Replies: 9
Views: 2952

Re: Random Question: fix URLs in my browser's history?

I think the only way is to just clear your history all together.
Ctrl+Shift+Delete.
by EcazS
Tue Sep 18, 2012 2:16 pm
Forum: PHP
Topic: Infinite Submenu
Replies: 3
Views: 729

Infinite Submenu

I've been improving my CMS over time and I would like to add submenus, infinite amounts of it... Problem is, I have no idea how I would go about this with my current code, I understand I need to use a recursive method but that's about it. getter.class.php [syntax=php] public function NavList() { glo...
by EcazS
Sun Aug 12, 2012 1:04 am
Forum: JavaScript
Topic: Hovering/wiggle effect
Replies: 5
Views: 2522

Re: Hovering/wiggle effect

I'm not that good with Javascript. But something like that with the CSS could work... I'm not much into CSS3 but how would I make it "animate"/transition into a small circle, very subtle. Not necessarily a 100% round circle but just so it goes up and to the side and then down and to the ot...
by EcazS
Sun Aug 12, 2012 12:42 am
Forum: JavaScript
Topic: Hovering/wiggle effect
Replies: 5
Views: 2522

Re: Hovering/wiggle effect

That creates this, http://jsfiddle.net/XWkU7/

I will look into CSS3 animating but do you possibly have any ideas how to do this without using CSS3?
by EcazS
Sun Aug 12, 2012 12:23 am
Forum: JavaScript
Topic: Hovering/wiggle effect
Replies: 5
Views: 2522

Hovering/wiggle effect

Does anyone know how to create sort of a hovering/floating/wiggle effect with Javascript? And not the "vibrating" effect that iPhones give out when you press an icon. Think of a hover car that floats up and down. Something like that but also to the sides. I could animate it with jQuery but...
by EcazS
Tue Aug 07, 2012 7:31 pm
Forum: General Chat
Topic: Windows XP
Replies: 2
Views: 776

Re: Windows XP

Just stick with Windows 7.
by EcazS
Mon Aug 06, 2012 2:00 pm
Forum: General Chat
Topic: "Upgraded" my router, DD-WRT
Replies: 4
Views: 1036

Re: "Upgraded" my router, DD-WRT

You were probably meant to do it with the power plugged in The reset button is just a button, how would it work if there was no power I tried with power first, which didn't do anything either. On the wiki it says when you hold down the reset button and plug in the power the boot agent or boot manag...
by EcazS
Sun Aug 05, 2012 8:07 pm
Forum: General Chat
Topic: "Upgraded" my router, DD-WRT
Replies: 4
Views: 1036

Re: "Upgraded" my router, DD-WRT

Disconnect the modem and plug a cable into the router ? Then 192.168.1.1 should get your the right page since the other device won't be accessible. Didn't feel like knocking on the door of the (creepy) dude who lives upstairs in the middle of the night. I'm not sure how reliable DD-WRTs wiki is tho...
by EcazS
Sun Jul 29, 2012 10:35 pm
Forum: General Chat
Topic: "Upgraded" my router, DD-WRT
Replies: 4
Views: 1036

"Upgraded" my router, DD-WRT

So, yesterday I moved to my new apartment and there is no internet in here "by default" so I get internet by the people just above me. They bought some cable modem or some shit so I pay them so I can use it. It's supposed to be 36 up and down. Anyways, I don't have a wireless card and sinc...
by EcazS
Sun Jul 29, 2012 12:18 am
Forum: General Chat
Topic: Oh, irony
Replies: 6
Views: 1360

Re: Oh, irony

404 isn't PHP joke lolololololol!!!
by EcazS
Sat Jul 28, 2012 4:17 pm
Forum: General Chat
Topic: Supah Fast
Replies: 6
Views: 1158

Re: Supah Fast

Which board? o_O

This board?
Image
by EcazS
Thu Jul 19, 2012 10:37 pm
Forum: General Chat
Topic: I want to become a professional web programmer.
Replies: 6
Views: 1303

Re: I want to become a professional web programmer.

HTML, CSS, PHP and Javascript (and all that Javascript includes).