Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by trantron

  1. trantron

    tables - controlling rows and columns with php

    This is great! It works perfect. Thanks for your help on this, I really appreciate it!!
  2. trantron

    tables - controlling rows and columns with php

    I am pulling variables out of mySQL to complete the path to display pictures. My problem is that I can not get rows and columns; I can only get my pictures to display in a single column that runs either top to bottom or side to side. I want to display 4 across and then I want a </tr> to start a...
  3. trantron

    next() function

    I get it. That is why I can't embed the php there. Thanks!
  4. trantron

    next() function

    I am a newbie so don't laugh. I am looking for a link to show me how to navigate through a small array that holds links to as many as 8 pictures. This is for a real estate site. You have probably seen it before. A next button and a previous button with a space in the center to hold the image...
  5. trantron

    Hiding the action on a page when the source is viewed?

    Thanks Smashing. I think I will try this.
  6. trantron

    Hiding the action on a page when the source is viewed?

    Thanks. Do you have any links handy that you can send me to for more info?
  7. trantron

    Hiding the action on a page when the source is viewed?

    The problem is that I have a validated form to collect basic info from the user like name and email etc. If one views the source code the action is visible, so along with that the name of the next php file can easily be identified. This php file is where the information is sent to the database...
  8. trantron

    Looking for an alternative to the range() function

    Thank you!
  9. trantron

    Looking for an alternative to the range() function

    Yes! Why couldn't I think of that!!
  10. trantron

    explode() working on one server but not another, why?

    I narrowed the problem down to the range() function Using the years 1980-1984 as an example: $left=substr($yr[0],-2); // $yr[0] would be &quot;80&quot; $right=substr($yr[1],-2);// $yr[0] would be &quot;84&quot; $var=range(&quot;$left&quot;,&quot;$right&quot;); //$left=80...
  11. trantron

    Looking for an alternative to the range() function

    Looking for an alternative to the range() function It is not working on an older version of PHP that I am stuck using. According to the PHP manual: Note: Prior to PHP version 4.1.0, range() only generated incrementing integer arrays. Support for character sequences and decrementing arrays was...
  12. trantron

    explode() working on one server but not another, why?

    I just ran this code, but the result is the same. Using the range 1980-1988, for example, the result is still just a single &quot;8&quot; being sent to the database.
  13. trantron

    explode() working on one server but not another, why?

    Yes. Using that example only an 8 (single digit) would be sent to the database.
  14. trantron

    explode() working on one server but not another, why?

    I am running this code on version 4.3.4 This code takes a range of years e.g. 1980-85 and inserts into the database 80,81,82,83,84,85 $yr=explode(&quot;-&quot;, $years); if($yr) { $left=substr($yr[0],-2); $right=substr($yr[1],-2)...
  15. trantron

    Explode Question

    explode() and different versions of php? I am running this code on version 4.3.4 This code takes a range of years e.g. 1980-85 and inserts into the database 80,81,82,83,84,85 $yr=explode(&quot;-&quot;, $years); if($yr) { $left=substr($yr[0],-2); $right=substr($yr[1],-2)...

Part and Inventory Search

Back
Top