Hi jpadie
Thanks for the code.
I have implemented a modified version of the code you supplied and it is working fine.
Obviously I was hoping that the filter_var_array() function could work on multi-dimensional associative arrays.
Thanks to you and Geates for your time / suggestions.
Nigel...
OK . . . in trying to keep things brief, it is obvious when re-reading my posts that I am not providing sufficient details - why can't people just read my mind! lol
So I hope this helps . . .
Starting with an array :
Array
(
[Home] => Array
(
[id] => 2...
Hi Geates
Bang on - a filtered array from the parent array.
My parent array has in excess of 200 sub arrays so was looking for the most efficient way to perform the filter. Maybe I'll just resort to some good old looping.
Thanks again
Nigel
Nigel Wilson
Yoyo CMS
Hi jpadie
Here is the desired using the original code snippet is below:
Array
(
[Home] => Array
(
[name] => Home
[parentURLName] => Site
)
So what I intended doing was creating a self referencing function using a temporary array to build an...
I have an array that is a complete list of "pages" for a CMS I have written.
I am wanting to filter the array in order to output a sub navigation for my site.
I felt that the filter_var_array() function would be suitable as it provides the ability to search on multiple criteria, however I...
Just a final follow-up.
The problem was php related.
I altered the output_buffering from '4096' to 'On' and this has corrected all the problems.
As a test I changed it to 2048 and this made the problem even worse.
Thanks again for your feedback folks.
Nigel Wilson
Christchurch Web Design
Hi RhythmAce & YoungManRiver
Thanks for your posts - I appreciate your feedback.
I have done a bit more Sherlock Holmes work . . .
I only have WAMP on the server and nothing installed on my Laptop, merely browsing to the server from the laptop.
I have saved an 82Kb html file and this...
Hi
I have just installed WAMP on a test box (XP Pro) and am developing a php based CMS system on it.
The CMS works fine when viewing it on the test box, however when viewing it on my laptop via local network only 8Kb of data is being transferred at any one time.
I have done a character count...
I am building a CMS using php and MySQL.
I have developed a module so the end user can create enquiry forms on their sites.
My dilemma is how to store the submitted form data within the database.
My initial solution was to use wddx and build a packet containing all the submitted field data -...
Hi jpadie
Thanks for your reply.
My database structure is as follows :
Table -> individuals
Table -> qualifications
Table -> individual_qualification_links
So obviously there is no direct storage of data in the individual table.
I haven't written the code yet but envisage something like ...
Further to thread434-1199750 I have a similar problem as follows :
I have a form to create new individual records and within form this there is a multiple select list for qualifications.
I also have a form to edit existing records and so need to be able to list all the qualifications and...
Hi xlhelp
Give you a star too - the solution I was using was reliant on pressing Ctrl Shift Enter when typing the formula and so was a bit of a nightmare to copy / paste.
Your solution works a treat and from a mangement perspective is somewhat easier.
Thanks again.
Nigel Wilson
Christchurch...
Hey
Blown away with the responses . . .
Thanks to everyone for contributing.
I managed to get the solution detailed by anotherhiggins working so thank you mate for your input.
The "Ctrl" - "Shift" - "Enter" option for formula's is new to me - quite frustrating to manage as if you want to...
Hi Skip
Thanks for your feedback.
I didn't explain myself properly earlier.
As an example :
Bib number range of 100 - 170 and a number range of 200 - 2500.
From the above ranges I need to know how many 0's, how many 1's, how many 2's, etc.
The len() function will only return the length of...
Hi
I work in a screen printing business and we print numbered bibs for sports events.
Currently I manually create a spreadsheet for the number ranges required and then apply the following functions to calculate how many individual digits are required to be printed:
left(), mid(), right()...
H xlhelp and Skip
Thank you for your extremely prompt replies.
I have tried the index option and it works a treat.
Thanks again.
Nigel Wilson
Christchurch Web Design
Hi there
I am wanting to perform the equivalent of the vlookup but when the lookup value does not find an exact match I want the nearest greater value to be returned. vlookup can only return the nearest lesser value.
I have created the following but this is reliant on the lookup data being...
Hi there
I have a form which has dynamically built select lists.
The select lists are created via 'AJAX', i.e. an http post/response call using JavaScript and PHP.
The data in the database table has been added using htmlspecialcahrs function and as an example the entry is Bee's...
Hi there
I am attempting to move a website from Windows Server 2003 to Windows 2000.
There is a certificate loaded on the site.
Does anyone know if there are any backwards compatibility issues with transferring a certificate from Windows 2003 to Windows 2000.
Thanks
Nigel Wilson...
Thanks for your feedback foamcow.
I agree with your last comment however some users are like kids in a candy store - have to try everything they see and so in some cases end up making a real mess - lots of colours, bolding, underlining, font sizes, etc.
Again the concern here that they can...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.