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: 3949
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:
18 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

ninja321: 84

s.baryshev.aoasp: 68

Freedom: 61

Pandermos: 54

MediFormatica: 49

B8europe: 48

Member Stats:

Guest Posters: 337

Members: 2855

Moderators: 0

Admins: 1

Forum Stats:

Groups: 1

Forums: 5

Topics: 1642

Posts: 8357

Newest Members:

samuel2288, comercios.cercademi, wanmarkets, torontomark48, info.ckmedianetwork, contact.mybeautystar

Administrators: CyberSEO: 3949