473,395 Members | 1,537 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

A quick array Q ..

I did a quick scandir, but am a little rubbish with array's ... how do I get
the jpg info from this result?

Array ( [0] =. [1] =.. [2] =.svn [3] =06_0911_235906.jpg [4] =>
06_0911_235915.jpg [5] =06_0911_235923.jpg [6] =06_0912_000110.jpg [7]
=06_0912_000120.jpg [8] =06_0912_000128.jpg [9] =06_0912_000157.jpg
[10] =06_0912_000206.jpg [11] =06_0912_000214.jpg [12] =>
06_0912_000250.jpg [13] =06_0912_000300.jpg [14] =06_0912_000308.jpg
[15] =06_0912_000319.jpg [16] =06_0912_000328.jpg [17] =>
06_0912_000336.jpg [18] =06_0912_000622.jpg [19] =06_0912_000631.jpg
[20] =06_0912_000639.jpg [21] =06_0912_001536.jpg [22] =>
06_0912_001545.jpg [23] =06_0912_001553.jpg [24] =06_0912_002351.jpg
[25] =06_0912_002400.jpg [26] =06_0912_002408.jpg [27] =>
06_0912_002822.jpg [28] =06_0912_002831.jpg [29] =06_0912_002839.jpg
[30] =06_0912_003030.jpg [31] =06_0912_003039.jpg [32] =>
06_0912_003047.jpg [33] =06_0912_003055.jpg [34] =06_0912_003104.jpg
[35] =06_0912_003112.jpg [36] =06_0912_003159.jpg [37] =>
06_0912_003208.jpg [38] =06_0912_003216.jpg [39] =06_0912_003245.jpg
[40] =06_0912_003254.jpg [41] =06_0912_003302.jpg [42] =>
06_0912_003311.jpg [43] =06_0912_003320.jpg [44] =06_0912_003329.jpg
[45] =06_0912_003337.jpg [46] =06_0912_003346.jpg [47] =>
06_0912_003355.jpg [48] =06_0912_003403.jpg [49] =06_0912_003411.jpg
[50] =06_0912_003419.jpg [51] =06_0912_003431.jpg [52] =>
06_0912_003439.jpg [53] =06_0912_003447.jpg [54] =06_0912_003455.jpg
[55] =06_0912_003503.jpg [56] =06_0912_003513.jpg [57] =>
06_0912_003529.jpg [58] =06_0912_003538.jpg [59] =06_0912_003546.jpg
[60] =06_0912_003639.jpg [61] =06_0912_003648.jpg [62] =>
06_0912_003656.jpg [63] =06_0912_003704.jpg [64] =06_0912_003713.jpg
[65] =06_0912_003721.jpg ) Array ( [0] =06_0912_003721.jpg [1] =>
06_0912_003713.jpg [2] =06_0912_003704.jpg [3] =06_0912_003656.jpg [4]
=06_0912_003648.jpg [5] =06_0912_003639.jpg [6] =06_0912_003546.jpg
[7] =06_0912_003538.jpg [8] =06_0912_003529.jpg [9] =>
06_0912_003513.jpg [10] =06_0912_003503.jpg [11] =06_0912_003455.jpg
[12] =06_0912_003447.jpg [13] =06_0912_003439.jpg [14] =>
06_0912_003431.jpg [15] =06_0912_003419.jpg [16] =06_0912_003411.jpg
[17] =06_0912_003403.jpg [18] =06_0912_003355.jpg [19] =>
06_0912_003346.jpg [20] =06_0912_003337.jpg [21] =06_0912_003329.jpg
[22] =06_0912_003320.jpg [23] =06_0912_003311.jpg [24] =>
06_0912_003302.jpg [25] =06_0912_003254.jpg [26] =06_0912_003245.jpg
[27] =06_0912_003216.jpg [28] =06_0912_003208.jpg [29] =>
06_0912_003159.jpg [30] =06_0912_003112.jpg [31] =06_0912_003104.jpg
[32] =06_0912_003055.jpg [33] =06_0912_003047.jpg [34] =>
06_0912_003039.jpg [35] =06_0912_003030.jpg [36] =06_0912_002839.jpg
[37] =06_0912_002831.jpg [38] =06_0912_002822.jpg [39] =>
06_0912_002408.jpg [40] =06_0912_002400.jpg [41] =06_0912_002351.jpg
[42] =06_0912_001553.jpg [43] =06_0912_001545.jpg [44] =>
06_0912_001536.jpg [45] =06_0912_000639.jpg [46] =06_0912_000631.jpg
[47] =06_0912_000622.jpg [48] =06_0912_000336.jpg [49] =>
06_0912_000328.jpg [50] =06_0912_000319.jpg [51] =06_0912_000308.jpg
[52] =06_0912_000300.jpg [53] =06_0912_000250.jpg [54] =>
06_0912_000214.jpg [55] =06_0912_000206.jpg [56] =06_0912_000157.jpg
[57] =06_0912_000128.jpg [58] =06_0912_000120.jpg [59] =>
06_0912_000110.jpg [60] =06_0911_235923.jpg [61] =06_0911_235915.jpg
[62] =06_0911_235906.jpg [63] =.svn [64] =.. [65] =. )
Thanks for putting up with me, a little too MySQL focused and need to focus
on arrays a little ...

Thanks

Nick
Sep 12 '06 #1
1 1286

"elyob" <ne*********@gmail.comwrote in message
news:45********@news1.homechoice.co.uk...
>I did a quick scandir, but am a little rubbish with array's ... how do I
get the jpg info from this result?
Actually, figured that .. thanks anyway.
Sep 12 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: windandwaves | last post by:
is there a quick way to compare the results from two arrays and note the differences? I have two identical tables in MySql (backup and current table) and I want to work out the differences between...
30
by: Christopher Benson-Manica | last post by:
Given the following: char s="Hello, world\n!"; Are all the following guaranteed to produce the same output? printf( "%s", s ); fprintf( stdout, "%s", s ); fwrite( s, sizeof(char),...
14
by: Roman Mashak | last post by:
Hello, All! Is there an easy way to determine that array e.g. int X contains ordered items (for example, ascending), except running loop with comparison of items? It would be good to provide...
8
by: Jm | last post by:
Hi All Ive asked this question in ms.public.dotnet.framework.interop but havent got a reply so im hoping someone may be able to help here. I am a bit of a newbie to vbnet and am having trouble...
3
by: Brian | last post by:
A quick question here - What can be achieved in IL which is not possible in C# ? o Creation of an ArrayList o Creation of a Dictionary o Creation of a two dimensional array...
13
by: ralphedge | last post by:
These sorts work fine on 100000 ints but if I go much higher they will both segmentation fault **************************MERGESORT********************* mergesort(int *a, int size) //a is...
13
by: alvinwoon | last post by:
URL: http://events.unl.edu/ Description: i coded a quick and dirty key navigation for the calendar. if you press left arrow on your keyboard, it will navigate to the previous date and fire an...
5
by: Anthony2oo5 | last post by:
Hello people, just a quick question I have here. My array looks like this: Array ( => Array ( => 15 => example.com => examplecom => NshKsi23
4
by: raylopez99 | last post by:
I would like to know if there's a quick "Linq" way to find the index of an array having a particular value. I can do this the long way by sequential iteration, but would like to know if there's a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.