Results 21 to 30 of 34
Threaded View
-
29th Apr 2010, 06:19 PM #1OPMemberWebsite's:
maxneeds.infoHow would you translate this in PHP ?
For first value in $var do something...
I think it is subarray.. like - $entry_array[ 'entry' ] .. So t3od0r how to choose the first or any other value.. And btw the values are actually all entries/pages of content.
I think if($entry_array[ 'entry' ][0]) works but if i want to do this ---
if($entry_array[ 'entry' ][0]){$entry_array[ 'entry' ][0]=$entry_array[ 'entry' ][0].'TEST';}
it adds 'TEST' to all entries not the first one...(maybe because the code like this means 'if exist'?)Porsche_maniak Reviewed by Porsche_maniak on . How would you translate this in PHP ? For first value in $var do something... I think it is subarray.. like - $entry_array .. So t3od0r how to choose the first or any other value.. And btw the values are actually all entries/pages of content. I think if($entry_array) works but if i want to do this --- if($entry_array){$entry_array=$entry_array.'TEST';} it adds 'TEST' to all entries not the first one...(maybe because the code like this means 'if exist'?) Rating: 5
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Translate page
By skinner in forum Web Development AreaReplies: 1Last Post: 1st May 2012, 01:35 PM -
How to translate a template ?
By Debaldus in forum DLEReplies: 9Last Post: 20th Feb 2012, 07:58 PM -
need translate script
By peterpetroli in forum Web Development AreaReplies: 5Last Post: 29th Dec 2011, 03:39 AM -
DLE translate tuto
By milooot in forum Webmaster DiscussionReplies: 3Last Post: 3rd Aug 2011, 05:23 PM -
Can someone translate this for me
By kohkindachi in forum Technical Help Desk SupportReplies: 2Last Post: 3rd Oct 2010, 01:34 PM
themaManager - edit and manage...
Version 4.18 released. Open older version (or...