[PHP] Should I use an array in a form / how?

2007-10-16 Thread ron.php
I am programming a form this morning.  I don't understand arrays really well.  I think this is what I am needing to use, but I am really not sure. I have a PHP script that checks a POP e-mail address and is suppose to take the incoming message and save it to a mySQL table based on the subject li

[PHP] IF statement

2007-10-18 Thread ron.php
I just tried to send this to the list. I am not trying make it post again, I don't think I had the e-mail address correct the first time. I am trying to stop $component_reference from doing the echo below when the value is 5 or 19. I don't have the syntax right though. What did I miss? Ron

[PHP] IF command

2007-10-18 Thread ron.php
When $component_reference is 5 or 19 I don't want the echo statement to output to the screen. What is the correct syntax? What I have below isn't working. Thanks for your help. Ron if ( ($component_reference != "5") OR ($component_reference != "19") ) { echo "" . $component_name . ""; } --