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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. stacybk

    a list of numbers

    I have a comma separated list of numbers that I need to add additional numbers to. First, I want to check if the number is there before I add it. Is there a function that does this? Like in MySQL I would say "number IN thelist". Thanks.
  2. stacybk

    Variables

    I found a work around. If anyone knows the original answer, though, I am still curious.
  3. stacybk

    Variables

    I can't use the multidimensional array, because of the way the data is being passed to me. But, thanks.
  4. stacybk

    Variables

    I have a loop. In each iteration of the loop I need to use a different array. At the beginning of the loop I set the array name to a variable. For instance, if $x is the loop counter, I write $myarray = "thearray$x"; I'm not sure how to reference it later. For instance, if I use...
  5. stacybk

    How do I get rid of the spaces?

    Thanks your ideas have helped!
  6. stacybk

    How do I get rid of the spaces?

    I did have it the way you suggested and keep changing it in an effort to get rid of those spaces. I will try again. What other information would you need to see to help me?
  7. stacybk

    How do I get rid of the spaces?

    I have the following piece of code: '<a href=&quot;'.$phpbb_root_path. &quot;viewforum.php?f=$line['forum_id']&amp;o=$fid&quot; . '&quot;>' . $line_topic_title . &quot;</a>&quot; The end of the URL it produces looks like the following: viewforum.php?f=756&o%20=%2017 How do I get rid of those...
  8. stacybk

    Select Box

    Thanks. I had read the stuff in the HTML book, but was confused about the return to php. I got it now.
  9. stacybk

    Select Box

    so would the data be stored in the name of the select box?
  10. stacybk

    Select Box

    I have a select box that I created going through my database in PHP. I display that box on my website. When someone makes a choice, I don't want anything to happen, but when the data from the whole page is posted, I want to know the what the user chose. Any ideas?
  11. stacybk

    Help with variables

    Problem solved. It turns out that the comment that came right before the code that output that array to the table needed to be written with the name of the array in it. So, changing the name of the array and not changing the comment screwed everything up. Thank you sleipnir24 for your help...
  12. stacybk

    Help with variables

    when I use the print_r command, I see that the data is there exactly the same way with both names. I will have to figure out why the template is not outputting the second version. Thanks for your help. I will post again with information about the output if I can't get it.
  13. stacybk

    Help with variables

    With the code as originally written, the data comes out in a table. When I change the variable name, the table is blank. I will try that command and see what happens, though. Btw, I am not just changing the variable name to change it, if I figure this out, it will solve a different problem as...
  14. stacybk

    Help with variables

    This is the function. Does that help? function assign_block_vars($blockname, $vararray) { if (strstr($blockname, '.')) { // Nested block. $blocks = explode('.', $blockname)...
  15. stacybk

    Help with variables

    I have the following piece of code. $template->assign_block_vars('topicrecentpopular', array( 'TOPICSPOPULAR' => $poppost, 'TOPICSPOPULARC' => $poppostc, 'TOPICSPOPULARVIEW' => $popviewpost...

Part and Inventory Search

Back
Top