12122007 1312 GMT-6

I got it. Duh....

Its  " . function() . "

Ok. Let me explain. They had used all single quotes so, I had to go back 
through and figure out the problem. They had mixed and matched single 
and double so I was really having a hard time. I changed it all to 
double quotes and then escaped everything, remove the ; and added a . 
and not it all works.

I feel stupid for not seeing it before.

Thanks.

Wade

Wade Smart wrote:
> 12122007 1259 GMT-6
> 
> If I remove the ; I get
> Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING
> 
> <td><span class=\"fin_cc\" id=\"cc_citi\"> " . rtrim($clientdata1[14]); 
> "     and your remaining balance is</td>
> <td><span class=\"fin_cc\ id=\"cc_citi_bal"> " . rtrim($clientdata2[2]); " .
> 
> At first I thought it was the single quotes/ double quotes thing. But 
> apparently the clients inhouse programmers never did get it to work.
> 
> Wade
> 
> 
> 
> James Keeline wrote:
>> --- Wade Smart <[EMAIL PROTECTED]> wrote:
>>
>>> 12122007 1249 GMT-6
>>>
>>> Im working with a clients code here.
>>> There is a string in a print ' bla '; statement and there are many 
>>> functions within the string.
>>>
>>> string.........  ' . function(); ' more string....... ' . function(); . 
>>> ' end string.'
>>>
>>> Im not seeing the problem right off but, the first function works fine 
>>> but the second and third and so on will not. They are blank.
>>>
>>> Wade
>> I don't think we have enough info to work with here.  The semicolon after the
>> function would end the statement so it seems like that would make it hard to
>> work with and might create the symptoms you describe.
>>
>> James
>>
>>
>>
>> Community email addresses:
>>   Post message: [email protected]
>>   Subscribe:    [EMAIL PROTECTED]
>>   Unsubscribe:  [EMAIL PROTECTED]
>>   List owner:   [EMAIL PROTECTED]
>>
>> Shortcut URL to this page:
>>   http://groups.yahoo.com/group/php-list 
>> Yahoo! Groups Links
>>
>>
>>
>>
> 
> 
> Community email addresses:
>   Post message: [email protected]
>   Subscribe:    [EMAIL PROTECTED]
>   Unsubscribe:  [EMAIL PROTECTED]
>   List owner:   [EMAIL PROTECTED]
> 
> Shortcut URL to this page:
>   http://groups.yahoo.com/group/php-list 
> Yahoo! Groups Links
> 
> 
> 
> 

Reply via email to