May 4, 2011

parsing spaces in php | CyberSEO Pro | Support Forum

Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_TopicIcon
parsing spaces in php
Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 (0 votes) 
October 29, 2012
3:54 pm
Avatar
webmasterx
Guest
Guests

hi

having a little problem with this line in my feed php code:

Login to see the code

i would like to get a space or comma parsed in between category & subcategory

how do i achieve a space or comma between the cat & subcat?

i am no expert on php but have managed to get the feed working just how i want it from the instructions in other posts, just cant crack this tiny problem

November 6, 2012
7:28 am
Avatar
CyberSEO
Admin
Forum Posts: 4057
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

What exactly is contained in your $post['custom_fields']['category'] and $post['custom_fields']['subcategory'] custom fields? I mean does your code put some values there or what? I'm asking this because by default both variables just don't exist.

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 541

Currently Online:
40 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

ninja321: 86

s.baryshev.aoasp: 68

Freedom: 61

harboot: 56

Pandermos: 54

MediFormatica: 49

Member Stats:

Guest Posters: 337

Members: 2940

Moderators: 0

Admins: 1

Forum Stats:

Groups: 1

Forums: 5

Topics: 1685

Posts: 8598

Newest Members:

sdmactech, dungdn.msn, a6479501, ee.ramos.n, info.atpltraining, pay2hostweb

Administrators: CyberSEO: 4057