Jump to content


  • Content Count

  • Joined

  • Last visited

Everything posted by albridge

  1. thanks men. was looking for a php solution but i guess this one would do for now. in fact it works quite fine and i'm somewhat impressed with the results. thanks men. really appreciate your response and solution.
  2. i am trying to build a membership site where members can select search criteria like male or female and age to view profiles of other members on the system. on the result page i want to dynamically generate thumbnail like immages (smaller images) from an uploaded image of each member. i have tried to do this with php gd function 'imagecopyresized' and while it does successfully resize the image, it appears to only do so for the first or last image cos all the outputted images on the search result page are the same. however, if only one member on the search result has uploaded a profile image t
  3. just want to say thanks again for your help. took another look at the code and got to figure out the confusing areas. thanks again for all your help. thanks chibineku and justsomeguy for your help. really appreciate your contribution.
  4. first of all i really appreciate you taking time to try to make things clear to me. means a lot to me. however i would like to point out some other specific areas i want cleared out. first please could explain this part of the codeif ($hint=="") { $hint=$a[$i]; that piece of code looks like if $hint is same as an empty string then set it to an element of the array $a. i dont get that cause i think if $hint is empty then it should be empty. how come a value is assigned when $hint is empty.then i would like to get some clarification on the else part of the condition also } else { $hint=$
  5. saw this example on the w3school site on creating an auto suggestion ajax/php form. it works perfect but i don't totally understand how it all works. would appreciate anyone who can do a bit more commenting on the code so i can get how it really works.the complete tutorial is found here the complete code is herei especially need clarification in the following part of the code especially the areas with $hint. just dont get that part <?php//lookup all hints from array if length of q>0if (strlen($q) > 0) { $hint=""; for($i=0; $i<count($a); $i++) { if (strtolower($q)==strtolower(s
  • Create New...