Home Accessibility Courses Diary The Mouth Facebook Resources Site Map About Us Contact
 
This week, we're updating our course layouts and descriptions. Presentation and materials always gently change over time, but just occasionally there's a need to make a step change to clear out some of the old and roll in the new. That's now happening - but over a long and complex site it's not instant and you'll see sections of the site changing up to and including 19th September.

See also [here] for status update
 
is there a lookup function in php?

Search engines often bring visitors to our web site ... usually to a relevant page for them, but sometimes to the wrong page on the right site. Here's an edited copy of an answer I've just sent to one such arrival, who was so upset at getting the wrong page that he wrote to me twice - two different emails - within a few minutes. I
1. Explain the problem with search engines and
2. Give a pointer to the answer that "George" - not his real name - was asking.

Why did you land where you did?

George, following up further I've had a look at our log files and I think you probably searched for
is there a lookup function in php
on Google, which brought you to the page that you emailed me about as the 6th site it suggests for this term.

Search engines have improved hugely over the years, and the proportion of rogue pages offered has dropped - but it's still a serious issue. The fact that you went down as far as the sixth page being offered rather shows how this is a very general problem and not specific to our site.

We do try to assist visitors to our site who arrive via any of the search engines at pages which aren't quite what they're looking for - there's plenty of navigation links on our pages (which I notice that you did use) and indeed we analyse the search term used by all Google arrivals and provide a series of extra links under our "data mine" section on the landing page that was presented to you.

Can I ask you to get back with me further with your suggestions as to how we can help people land more accurately on our web site and / or to then navigate to the material they need. It's in everyone's interest to have these things tailored as best as possible.

What is the answer to the question asked?

If you haven't solved your question yet, please let me know a little more about what your wanting to "look up" in PHP, and I'll drop you a full answer. As it is, you MIGHT be looking for the in_array function if your're looking up in an array, for an SQL query if it's in a database, or something like a preg_grep with an embedded file if you're wanting to search as file. As the page you landed on says, "There's a function to do that" .... the problem is identifying which one!
(written 2007-07-15, updated 2007-07-16)

 
Associated topics are indexed as below, or enter http://melksh.am/nnnn for individual articles
H105 - PHP - Functions
  [3026] Coding efficiency - do not repeat yourself! - (2010-11-02)
  [2929] Passing a variable number of parameters in to a function / method - (2010-08-20)
  [2737] Improving your function calls (APIs) - General and PHP - (2010-04-24)
  [2682] Adding extensions to PHP Open Source applications - callbacks - (2010-03-17)
  [2630] Static variables and ampersands in PHP - (2010-02-10)
  [2488] A variable number of arguments in a PHP function - (2009-11-02)
  [1784] Global - Tcl, PHP, Python - (2008-09-03)
  [1380] Static variables in PHP - (2007-10-05)
  [1357] Clean my plate, but keep my wine bottle. (PHP; Static) - (2007-09-18)
  [1202] Returning multiple values from a function (Perl, PHP, Python) - (2007-05-24)
  [1163] A better alternative to cutting and pasting code - (2007-04-26)
  [1021] PHP - static declaration - (2007-01-04)
  [936] Global, Superglobal, Session variables - scope and persistance in PHP - (2006-11-21)
  [866] A lazy programmer is a good programmer - (2006-09-15)
  [775] Do not duplicate your code - (2006-06-23)
  [421] Don't repeat code - use loops or functions - (2005-08-21)
  [409] Functions and commands with dangerous names - (2005-08-11)
  [340] Code and code maintainance efficiency - (2005-06-08)
  [339] Passing information into and out of PHP functions - (2005-06-07)
  [308] Call by name v call by value - (2005-05-11)
  [223] There is a function in PHP to do that - (2005-02-21)
  [96] Variable Scope - (2004-10-22)


Back to
Party in the Park
Previous and next
or
Horse's mouth home
Forward to
Changes in advertising cut lines / Buscot / Tcl course
Some other Articles
Till the cows come home
PHP Standalone - keyboard to screen
Party in the Park - review
Changes in advertising cut lines / Buscot / Tcl course
is there a lookup function in php?
Party in the Park
Apache, Tomcat, Jakarta, httpd, web server - what are they?
Business events in Melksham
0800 043 8225 - a new phone number for Well House
Keep in touch with PHP, Perl, Python and old friends too
4285 posts, page by page
Link to page ... 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86 at 50 posts per page


This is a page archived from The Horse's Mouth at http://www.wellho.net/horse/ - the diary and writings of Graham Ellis. Every attempt was made to provide current information at the time the page was written, but things do move forward in our business - new software releases, price changes, new techniques. Please check back via our main site for current courses, prices, versions, etc - any mention of a price in "The Horse's Mouth" cannot be taken as an offer to supply at that price.

Link to Ezine home page (for reading).
Link to Blogging home page (to add comments).

You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2014: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • FAX: 01144 1225 899360 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho

PAGE: http://www.wellho.net/mouth/1267_is- ... -php-.html • PAGE BUILT: Sun Mar 30 15:20:58 2014 • BUILD SYSTEM: WomanWithCat