Results 11 to 20 of 34
-
29th Apr 2010, 08:04 PM #11Member
You forgot your Post Code and your Mother's maiden name in that array, lite.
-
29th Apr 2010, 08:04 PM #12OPMemberWebsite's:
maxneeds.infoRobin H it might so.. Do you want some real code from the page ???
There you have it ..
Code:Array ( [subject] => The Eye (2008) DVDRip [date] => Wednesday, April 28, 2010, 10:17 [date_numeric_day] => 28 [date_numeric_month] => 4 [date_numeric_year] => '10 [date_alpha_month] => Apr [date_numeric_time] => 10:17 [date_suffix_day] => 28th [categories] => Array ( [0] => MKV ) [categories_id] => Array ( [0] => 73 ) [edit] => Array ( [name] => edit [url] => preview_cgi.php?y=10&m=04&entry=entry100428-101711 ) [delete] => Array ( [name] => delete [url] => delete.php?y=10&m=04&entry=entry100428-101711 ) [permalink] => Array ( [name] => permalink [url] => http://xxx.com ) [entry] =>ENTRY CONTENT)
-
29th Apr 2010, 08:06 PM #13MemberWebsite's:
litewarez.net litewarez.com triniwarez.comyes show some code lol
Join Litewarez.net today and become apart of the community.
Unique | Clean | Advanced (All with you in mind)
Downloads | Webmasters
Notifications,Forum,Chat,Community all at Litewarez Webmasters
-
29th Apr 2010, 08:08 PM #14OPMemberWebsite's:
maxneeds.infoel_jentel1 thank you all but how do i add the word 'TEST' to the first multidimensional array ??? i tried
Code:if($entry_array[ 'entry' ][0]){$entry_array[ 'entry' ][0]=$entry_array[ 'entry' ][0].'TEST';}
-
29th Apr 2010, 08:09 PM #15MemberPHP Code:
$user = array(
'dob' => 25121988,
'age' => 21,
'profile' => array(
'username' => 'litewarez'
)
);
var_dump( $user['profile'] );
var_dump( $user[2] ); // DOES NOT WORK, WRONG!
Code:array(1) { ["username"]=> string(9) "litewarez" } NULL
-
29th Apr 2010, 08:10 PM #16Member
How to suffix the string "TEST" to a single element or all elements in a nested array?
PHP Code:if( isset( $entry_array[ 'entry' ][0] ) )
{
$entry_array[ 'entry' ][0] .= 'TEST';
echo 'Found and suffixed.';
}
else
{
echo 'Element not found.';
}
-
29th Apr 2010, 08:11 PM #17MemberWebsite's:
litewarez.net litewarez.com triniwarez.comPHP Code:if(isset($entry_array) && is_array($entry_array['entry']))
{
print_r($entry_array['entry']); //Show the contents of it
}else
{
echo 'The 2nd dimension is not an array';
}
and my bad elj, looks like i got it wrong ahahJoin Litewarez.net today and become apart of the community.
Unique | Clean | Advanced (All with you in mind)
Downloads | Webmasters
Notifications,Forum,Chat,Community all at Litewarez Webmasters
-
29th Apr 2010, 08:12 PM #18OPMemberWebsite's:
maxneeds.infoel_jentel1 - yes
-
29th Apr 2010, 08:14 PM #19OPMemberWebsite's:
maxneeds.infoThe 2nd dimension is not an arrayThe 2nd dimension is not an arrayThe 2nd dimension is not an arrayThe 2nd dimension is not an arrayThe 2nd dimension is not an array
The 2nd dimension is not an arrayThe 2nd dimension is not an arrayThe 2nd dimension is not an arrayThe 2nd dimension is not an arrayThe 2nd dimension is not an array
The 2nd dimension is not an arrayThe 2nd dimension is not an arrayThe 2nd dimension is not an arrayThe 2nd dimension is not an arrayThe 2nd dimension is not an array
The 2nd dimension is not an arrayThe 2nd dimension is not an arrayThe 2nd dimension is not an arrayThe 2nd dimension is not an arrayThe 2nd dimension is not an array
The 2nd dimension is not an arrayThe 2nd dimension is not an arrayThe 2nd dimension is not an arrayThe 2nd dimension is not an arrayThe 2nd dimension is not an array
The 2nd dimension is not an arrayThe 2nd dimension is not an arrayThe 2nd dimension is not an arrayThe 2nd dimension is not an arrayThe 2nd dimension is not an array
The 2nd dimension is not an arrayThe 2nd dimension is not an arrayThe 2nd dimension is not an arrayThe 2nd dimension is not an arrayThe 2nd dimension is not an array
The 2nd dimension is not an arrayThe 2nd dimension is not an arrayThe 2nd dimension is not an arrayThe 2nd dimension is not an arrayThe 2nd dimension is not an array
The 2nd dimension is not an arrayThe 2nd dimension is not an arrayThe 2nd dimension is not an arrayThe 2nd dimension is not an arrayThe 2nd dimension is not an array
The 2nd dimension is not an arrayThe 2nd dimension is not an arrayThe 2nd dimension is not an arrayThe 2nd dimension is not an arrayThe 2nd dimension is not an array
-
29th Apr 2010, 08:15 PM #20MemberWebsite's:
litewarez.net litewarez.com triniwarez.comso then $entry_array['entry'] does not exists or is not an array, you cant do what your trying to do :/
try
$entry_array['entry'] .= 'Test';Join Litewarez.net today and become apart of the community.
Unique | Clean | Advanced (All with you in mind)
Downloads | Webmasters
Notifications,Forum,Chat,Community all at Litewarez Webmasters
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...