[PHP-DB] HTML Entity Decode

2008-03-26 Thread VanBuskirk, Patricia
I found the following function at http://us.php.net/html_entity_decode.  This looks exactly like what I need to filter out information in a text field that's been copied from Word.  The endash or #8211 is not being accepted and my processing page is halting.  My question to you is where in my

[PHP-DB] ini_set ...

2008-03-21 Thread VanBuskirk, Patricia
I have the line ini_set('display_errors', 'on'); in my code, but it is not working. Does it need to be the first command on the page? Trish -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DB] ini_set ...

2008-03-21 Thread VanBuskirk, Patricia
will try true instead of on and see if that works. Does it go back to the default on it's own, or do I need to hard-code that in the page when I'm done? Thanks Isaak! From: Isaak Malik [mailto:[EMAIL PROTECTED] Sent: Friday, March 21, 2008 10:16 AM To: VanBuskirk, Patricia Subject: Re: [PHP-DB

RE: [PHP-DB] str_replace removing unwanted characters...

2008-03-01 Thread VanBuskirk, Patricia
Thanks again Daniel ... I'll look into the html_entity_decode and see what I can figure out. You have a great weekend too! -Original Message- From: Daniel Brown [mailto:[EMAIL PROTECTED] Sent: Saturday, March 01, 2008 7:06 PM To: VanBuskirk, Patricia Subject: Re: [PHP-DB] str_replace

[PHP-DB] str_replace removing unwanted characters...

2008-02-29 Thread VanBuskirk, Patricia
Someone from this list (sorry I cannot remember the name), a while back, gave me the following function to use to get rid of unwanted characters coming in on forms: function convert_smart_quotes($string) { $search = array(chr(145), chr(146),

[PHP-DB] Formatting in Text Area

2008-02-01 Thread VanBuskirk, Patricia
I have a customer description text area field on my form which feeds through php to FMP, and spits out a confirmation page and email. The issue I am having is this ... as the customer types, the text wraps. Many put their own hard returns and spaces in to organize their description. It seems

[PHP-DB] Formatting in Text Area

2008-02-01 Thread VanBuskirk, Patricia
-Original Message- From: Evert Lammerts [mailto:[EMAIL PROTECTED] Sent: Friday, February 01, 2008 8:21 AM To: VanBuskirk, Patricia Cc: php-db@lists.php.net Subject: Re: [PHP-DB] Formatting in Text Area VanBuskirk, Patricia wrote: I have a customer description text area field on my form which

[PHP-DB] Sending value to another page...

2007-11-29 Thread VanBuskirk, Patricia
I am trying to send an order number from a confirmation page to another form and insert it into the order number field on the new form. Can anyone tell me what I am doing wrong??!! Here's the portion of my code that has the link (it passes

RE: [PHP-DB] Sending value to another page...

2007-11-29 Thread VanBuskirk, Patricia
-Original Message- From: Jason Gerfen [mailto:[EMAIL PROTECTED] Sent: Thursday, November 29, 2007 1:38 PM Cc: php-db@lists.php.net Subject: Re: [PHP-DB] Sending value to another page... -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 VanBuskirk, Patricia wrote: I am trying to send an order

RE: [PHP-DB] Sending value to another page...

2007-11-29 Thread VanBuskirk, Patricia
] Sending value to another page... -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 VanBuskirk, Patricia wrote: I am trying to send an order number from a confirmation page to another form and insert it into the order number field on the new form. Can anyone tell me what I am doing wrong

RE: [PHP-DB] Sending value to another page...

2007-11-29 Thread VanBuskirk, Patricia
Thanks all for your support!! -Original Message- From: Dee Ayy [mailto:[EMAIL PROTECTED] Sent: Thursday, November 29, 2007 1:48 PM To: php-db@lists.php.net Subject: Re: [PHP-DB] Sending value to another page... I just tested ?'OrderNumber'=TEST222808 and it works with and without

[PHP-DB] Script works on one server and not another...

2007-11-16 Thread VanBuskirk, Patricia
I have the following multipage example script I am practicing with that came from the php cookbook. It works great on my other business's web server, but when I upload it here at this job, it goes to a blank page after clicking next on stage 1. Sounds like a php.ini setting, but I cannot figure

[PHP-DB] Interactive Order Form

2007-11-09 Thread VanBuskirk, Patricia
Happy Friday All! We presently have an order form online (using php5) that feeds into a FileMaker 9 database. What we are trying to do is: If someone clicks on cell phone (checkbox), a new box of fields shows under it requiring additional info that feeds into a new table in the database (one

RE: [PHP-DB] php maximum characters in text field

2007-10-18 Thread VanBuskirk, Patricia
I have always called them curly quotes and when I Googled curly quotes in php, I came up with the script I sent yesterday. But, I think you are right. -Original Message- From: Niel Archer [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 17, 2007 5:39 PM To: php-db@lists.php.net

[PHP-DB] email HTML code showing in Eudora

2007-10-18 Thread VanBuskirk, Patricia
I have the following code that so for works perfect for all email programs EXCEPT Eudora. With Eudora, the entire code after the first ?, starting at --PHP-alt just pops into the body of the email. Anyone know of a fix for Eudora that will still allow the rest of the world to see it correctly?

RE: [PHP-DB] php maximum characters in text field

2007-10-17 Thread VanBuskirk, Patricia
Does anyone know how to look for a Curly quote or typographer's quotation mark. They are being submitted on our form under customer description. I have created a function that replaces a regular straight quotation mark ($title = str_replace(', , $title);), but do not know what to put in as

RE: [PHP-DB] php maximum characters in text field

2007-10-17 Thread VanBuskirk, Patricia
I was able to copy and paste from the customer's email exactly what they were trying to submit. When I back-spaced out their single quote and put in my own, it worked fine. That's how I narrowed it down to that particular character. With much help from a coworker, I was able to implement some

RE: [PHP-DB] php maximum characters in text field

2007-10-15 Thread VanBuskirk, Patricia
I am starting to believe it is NOT the character length that is causing the problem. We have received other orders with more in it than that, and they came in ok. I think there may be something in the input that php does not like. I've been searching for code that will clean up input,

RE: [PHP-DB] php maximum characters in text field

2007-10-15 Thread VanBuskirk, Patricia
It isn't sending to MySql, we use FileMaker Pro 9. A new record did not get made in the d'base... the confirmation email went out, but wherever info was supposed to kick back from the d'base (ie. Order number), it showed an undefined variable error. -Original Message- From: Instruct

RE: [PHP-DB] php maximum characters in text field

2007-10-12 Thread VanBuskirk, Patricia
with Undefined variable errors wherever the database was supposed to send back info, and no record was created. From: Bastien Koert [mailto:[EMAIL PROTECTED] Sent: Friday, October 12, 2007 11:12 AM To: VanBuskirk, Patricia; php-db@lists.php.net Subject: RE: [PHP-DB] php maximum characters in text field

[PHP-DB] php maximum characters in text field

2007-10-12 Thread VanBuskirk, Patricia
Is there a maximum number of character $_POST will/can return from a text field. I have an online form that was driving me nuts trying to troubleshoot, as most orders were coming in fine, but this one would not. I narrowed down to the length of the customer description field which has no limits

RE: [PHP-DB] php maximum characters in text field

2007-10-12 Thread VanBuskirk, Patricia
The field on the form is as such: TEXTAREA name=Customer_Description cols=100 rows=10 tabindex=44/TEXTAREA The confirmation page is: ?php echo ($_POST['Customer_Description']); ? From: Bastien Koert [mailto:[EMAIL PROTECTED] Sent: Friday, October 12, 2007 11:26 AM To: VanBuskirk, Patricia

[PHP-DB] FW: Kesalahan posting: Don Komo

2007-10-12 Thread VanBuskirk, Patricia
Why do I get this everytime I post? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, October 12, 2007 11:26 AM To: VanBuskirk, Patricia Subject: Kesalahan posting: Don Komo Anda tidak memiliki izin untuk memposting ke grup donkomo. Anda mungkin harus