[PHP] Need HOWTO on field-update code.
Can PHP update a second field on the form, based on the contents chosen from the first field (I'm thinking of JavaScript's function) ? I'm pulling a list of id,name,email from MySQL and displaying name for the first field. After the user picks it, I want the appropriate email address to show up in the second field. 1. I want to do this without sending a second select request to the server. 2. What PHP functions should I be looking at to build this? 3. If not PHP, where can I find the appropriate JavaScript examples? Thanks, Eman -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] configuring php.ini
I'm trying to use the example of mail() from php.net: and I've configured my php.ini with the following: [mail function] sendmail_path = /usr/sbin/sendmail -t -i ;for unix only, may supply arguments as well (default is 'sendma il -t -i') Yes it still doesn't send for me. I've checked that sendmail is running, and I did a which sendmail to confirm it's location. When I run the php script and do a tail -f /var/log/messages, it doesn't show up. How can I further troubleshoot this? Eman -- ===== Erin Quick-Laughlinemail: [EMAIL PROTECTED] R&R Partners : Comp.Spec.IIphone: 702.228.0222 http://www.rrpartners.com/ fax:702.228.7885 = -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]