Jegajothy vythilingam
asked on
PHP Programming
My OS is win 7 prof 64 bit. I am just trying to learn PHP, and am running into trouble.
Attached are 3 small files, one is Index.html, icontact.php and the other is newrighbar.php.
In the Index.html there is a email submit field, and it calls the file icontact.php. the Form to capture the variables are in newrightbar.php.
Alas I am at a lost on how to map the fields. Also I am not sure whether the fields have been declared correctly. Hope someone can please give me a hand.
I think the code in newrightbar may be in error or even in icontact.php, but I am sure the experts looking at them can spot them.
Thank u.
icontact.php
index.html
newrightbar.php
Attached are 3 small files, one is Index.html, icontact.php and the other is newrighbar.php.
In the Index.html there is a email submit field, and it calls the file icontact.php. the Form to capture the variables are in newrightbar.php.
Alas I am at a lost on how to map the fields. Also I am not sure whether the fields have been declared correctly. Hope someone can please give me a hand.
I think the code in newrightbar may be in error or even in icontact.php, but I am sure the experts looking at them can spot them.
Thank u.
icontact.php
index.html
newrightbar.php
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
In response to Frosty555's i tried your suggestion, and I just put a test email address when the Index page loaded, and when I ran your code on the rightbar.php, I got the following result :
Array ( [mail] => jothy@msn.com ) Array ( )
Now the question is how do I pass this to the label "Your Primary Email" in the rightbar.php file.
This email is supposed to be entered into the List at iContact.com. The other variables like listid, etc identifies the List correctly to paste the email.
I am lost. if u respond, please elaborate a bit. Thank u.
Array ( [mail] => jothy@msn.com ) Array ( )
Now the question is how do I pass this to the label "Your Primary Email" in the rightbar.php file.
This email is supposed to be entered into the List at iContact.com. The other variables like listid, etc identifies the List correctly to paste the email.
I am lost. if u respond, please elaborate a bit. Thank u.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
In response, Medo's recommendations are excellent, thank u. Ray's link are equally good. While I go thru and digest the material, any one care to help for a quick fix. Thank u.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I would like to personally thank each and every one of u for your responses and advice. Looks like I have a ton of material to go thru and he suggestions were excellent, thank u.
ASKER
Awesome suggestions and advice. Thank u so much.
ASKER
Thank u.