/    Sign up×
Community /Pin to ProfileBookmark

Links in Array

Hi WebDevelopers,

Merry Christmas!

I am facing problem with php and I don’t know how to find a solution for it. The script is not developed by me and I need to add one link to this script:

$links = array(array(‘faq’, ‘FAQ’), array(‘news’,’Fashion News’), array(‘shipping’, ‘Shipping Policy’),array(‘return-policy’, ‘Return Policy’),array(‘sizes’, ‘Sizes’), array(‘contact’, ‘Contact us’));

Unfortunately link is on sub-domain, and I don’t have a clue how to add it?!

For example the link need to point to blog.domain.com

Can anybody assist me?

to post a comment
PHP

2 Comments(s)

Copy linkTweet thisAlerts:
@talmanDec 28.2010 — You don't seem to have provided enough information, but you can try changing it to the following line.

$links = array(array('faq', 'FAQ'), array('news','Fashion News'), array('shipping', 'Shipping Policy'),array('return-policy', 'Return Policy'),array('sizes', 'Sizes'), array('contact', 'Contact us'), array('blog', 'Blog'));

Change it back if it does not work and get a developer to look over your code. This should be a cheap job for any decent developer, I am available if you need someone.

__

Leslie Liew - Web Developer
Copy linkTweet thisAlerts:
@banevauthorDec 28.2010 — This definitely will not going to work, as I said, blog is is on subdomain
×

Success!

Help @banev spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...