Jump to content


Alex

Member Since 01 Jun 2009
Online Last Active Today, 12:00 AM

Posts I've Made

In Topic: ajax auto search and display dropdown

19 September 2017 - 11:55 PM

I'm not sure what ajax auto search means.

 

Can you clarify the behavior that you're trying to achieve?


In Topic: complicated form validation

10 April 2014 - 05:18 PM

At a quick glance I noticed a few problems.

 

Your main issue is that in your submit handler your if statement is messed up.

 

if(validateName() & validatePhone() & validateEmail())

 

You want to be using the AND operator, &&.

 

One other small thing I noticed is that inside of your validateName function you have a typo with one of the variable names:

 

nameo.text("Enter Name");

 

That should be name, not nameo.


In Topic: PHP LOGIC HELP PLEASE

10 July 2013 - 01:41 AM

Can you explain how you expect this commission system to work?


In Topic: complex php

07 August 2012 - 09:17 PM

What do you consider 'complex'?


1+i


Man, my math is rusty.  Is that complex or imaginary?


Complex, the "i" is the imaginary part. A complex number just consists of a real and imaginary number, the real part being 1 in this case, and the imaginary part being i. It's pretty simple, actually.

In Topic: Please help passing a PHP url parameter

28 May 2012 - 09:28 PM

Try:

$myVar="friend_form.php?id_property=" . $row_properties_RS['id_property'];