Date: 07/13/00
- Next message: Michael Dearman: "Re: [PHP-DB] %Like%"
- Previous message: Wesley Choate: "RE: [PHP-DB] How to..?"
- In reply to: Wesley Choate: "RE: [PHP-DB] How to..?"
- Next in thread: Richard Allsebrook: "RE: [PHP-DB] How to..?"
- Reply: Richard Allsebrook: "RE: [PHP-DB] How to..?"
- Reply: Michael Howitz: "Re: [PHP-DB] How to..?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Well my example is enough, try yourself
<?PHP
$customer="No One"
$customer='"'.$customer.'"' ;
echo $customer
?>
this will give you: "No One" and that is exactly what I need.
But it not answer my question.
How can I make this for an array of variables?
Vojtech
> You need to put the escape character in front of the quotes if you want
them
> in the string.
>
> Example
> $test = ' /" ' . $var . ' /" /;
>
> I think this should work.
>
> Wesley Choate
>
> > -----Original Message-----
> > From: Vojtech Dvorak [SMTP:vojtech_dvorak <email protected>]
> > Sent: Thursday, July 13, 2000 7:58 AM
> > To: php-db <email protected>
> > Subject: [PHP-DB] How to..?
> >
> > . << File: ATT00001.txt; charset = iso-8859-2 >>
>
>
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Michael Dearman: "Re: [PHP-DB] %Like%"
- Previous message: Wesley Choate: "RE: [PHP-DB] How to..?"
- In reply to: Wesley Choate: "RE: [PHP-DB] How to..?"
- Next in thread: Richard Allsebrook: "RE: [PHP-DB] How to..?"
- Reply: Richard Allsebrook: "RE: [PHP-DB] How to..?"
- Reply: Michael Howitz: "Re: [PHP-DB] How to..?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

