Quantcast
Channel: WordPress › Support » Forum: Hacks - Recent Topics
Viewing all articles
Browse latest Browse all 8245

abearc on "tiny php help"

$
0
0

Hi,

I have a very simple php question, though it is not just wordpress specific.

Can anyone tell me why this string is returning the post number instead of the title?

$eventpl = str_replace($srcharr,$replarr,htmlentities(get_post_meta($ID,'a_businesses',true)));

If you want to see what the problem is, you can look at http://sandbox.mytripwas.org/

click on any icon on the map and you will see there is post number that appears on the map description bubble. That number is the post number instead of the post title that I want to display.

Any help is greatly appreciated.


Viewing all articles
Browse latest Browse all 8245

Trending Articles