Subject: avoid being house poor

From: Lender Refi Inquiry <[email-masked]>
Date: Mon, 24 Nov 2014 06:59:06 -0800

Complete Government Refinance Guide

The Plan To Help Homeowners

November 24, 2014

Key Aspects of the President’s Plan

New developments in the HARP_V2.0 from the home advisory Committee.

Due in part to these Administration efforts, the housing sector has begun to heal.

New guidelines allow for up to $805 in monthly payment reductions

Calculate New Rate Here

[FBS Members Inc] Opt-out here or write

125 Sheridan St-N e w c a s t l e, WY eight two seven zero one

Okay, I tried to reply on my mobile phone but auto-correct frustrated me so apologies for the dubious answer earlier.

The error says that an unexpected STRING has been found.

Try replacing the line above with this:

<?=highlight_phrase(htmlentities2( "has been viewed <?=row->hits;?> times"

"For if leisure and security were enjoyed by all alike, the great mass of human beings who are normally stupefied by poverty would become literate and would learn to think for themselves; and when once they had done this, they would sooner or later realise that the privileged minority had no function and they would sweep it away"

- George Orwell, 1984

Faq Reply With QuoteReply With Quote

Yesterday, 08:11 AM #8

MrFujin's Avatar MrFujin

Lord of the Dance

Devshed Expert (3500 - 3999 posts)

Join DateOct 2003

Posts3,706

Rep Power1959

Seems a bit wrong having <? before row when you already have <? at start.

As pointed out by badger_fruit, you missed some ) at the end and "" around your string.

What if you try this:

<?=highlight_phrase(htmlentities2("has been viewed row hits times")); ?>

Faq Reply With QuoteReply With Quote

Yesterday, 08:29 AM #9

badger_fruit's Avatar badger_fruit

Confused badger

Devshed Beginner (1000 - 1499 posts)

Join DateMar 2009

LocationWest Yorkshire

Posts1,151

Rep Power487

Originally Posted by MrFujin

Seems a bit wrong having <? before row when you already have <? at start.

As pointed out by badger_fruit, you missed some ) at the end and "" around your string.

What if you try this:

<?=highlight_phrase(htmlentities2("has been viewed row hits times")); ?>

MrFujin, the "row hits" part needs to be broken outside of the string ...

<?=highlight_phrase(htmlentities2("has been viewed " . row->hits . " times")); ?>

"For if leisure and security were enjoyed by all alike, the great mass of human beings who are normally stupefied by poverty would become literate and would learn to think for themselves; and when once they had done this, they would sooner or later realise that the privileged minority had no function and they would sweep it away"

- George Orwell, 1984

Faq Reply With QuoteReply With Quote

Yesterday, 02:03 PM #10

MrFujin's Avatar MrFujin

Lord of the Dance

Devshed Expert (3500 - 3999 posts)

Join DateOct 2003

Posts3,706

Rep Power1959

From my knowledge, variables should be parsed when using " ", compared to the use of ' '.

Faq Reply With QuoteReply With Quote

Yesterday, 03:12 PM #11

badger_fruit's Avatar badger_fruit

Confused badger

Devshed Beginner (1000 - 1499 posts)

Join DateMar 2009

LocationWest Yorkshire

Posts1,151

Rep Power487

Ahh. Yes sorry I should have known. I always break them out just to be sure.

Faq Reply With QuoteReply With Quote

Today, 02:25 AM #12

No Profile Picture

alexandermsia

Registered User

Devshed Newbie (0 - 499 posts)

Join DateNov 2014

Posts5

Rep Power0

Originally Posted by badger_fruit

MrFujin, the "row hits" part needs to be broken outside of the string ...

<?=highlight_phrase(htmlentities2("has been viewed " . row->hits . " times")); ?>

I tried and the following error was displayed....

A PHP Error was encountered

Severity: 4096

Message: Object of class stdClass could not be converted to string

Filename: modules/dsp-search-result.php

Line Number: 14

A PHP Error was encountered

Severity: Warning

Message: Missing argument 2 for highlight_phrase(), called in /dsp-search-result.php on line 14 and defined

Filename: helpers/text_helper.php

Line Number: 307

Faq Reply With QuoteReply With Quote

Today, 03:20 AM #13

badger_fruit's Avatar badger_fruit

Confused badger

Devshed Beginner (1000 - 1499 posts)

Join DateMar 2009

LocationWest Yorkshire

Posts1,151

Rep Power487

The clue is in the error message:

Originally Posted by alexandermsia

Message: Missing argument 2 for highlight_phrase(), called in /dsp-search-result.php on line 14

Without seeing the function highlight_phrase, we can't even begin to tell you what is required (although common sense would suggest that it'd be perhaps a highlight colour).

Good luck with that.