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 Mike Lewis 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. Shukusei

    PHP MySQL Question

    You would want to use PHP MySQL in a situation like yours due to it's ability to generate those seperate pages based on the content of your database. For example: Your database could hold the image location, and some information on the image. When your PHP script is called to look for a certain...
  2. Shukusei

    Dynamic size for box

    I think I may have a solution for you. <script language="JavaScript" type="text/javascript"> <!-- function frm_onload(frmname) { frmname.frameElement.height = frmname.document.body.scrollHeight+25; } //--> </script> And then place this in the box that you want to expand: onload="return...
  3. Shukusei

    Problem with a form script

    Thanks alot! Yeah, I kind of expected to have made a significant amount of silly errors, I'm new to PHP. To answer the questions you asked; 1) I got that from the PHP.net site, actually. The code showed you can used the curley brace notation in place of the full code, maybe I read it wrong 7) I...
  4. Shukusei

    Problem with a form script

    Okay, still no luck. I changed all appropriate cases of += to .= and it still gives me an empty HTML document. Here's the URL to the form: http://starr.kithulu.com/test/trans.htm
  5. Shukusei

    Problem with a form script

    I'll be using echo $transString in the <p></p> tagpair. I'll try changing the += to .= to see if it works, thanks for the pointer.
  6. Shukusei

    Problem with a form script

    Continuing from my last post(Dynamic PHP), I decided to continue using PHP but use the form-submit way of getting the translation done. So I changed my script a little, and put it in its own page to display the results and made another page to call it. I try the page out, it looks like it's...
  7. Shukusei

    Dynamic use of PHP question

    Thanks for the helpfull respsones. :) Just out of curiosity though.. How would I go about using a form to send the input from a textfield to the script, have it proccessed, and then sent back in the form of a new page? ie; user inputs text to be translated into textfield, hits submit, text gets...
  8. Shukusei

    Dynamic use of PHP question

    I'm working on a little translation script in PHP(my second script written in PHP actually). I'm quite possitive the script itself works, the problem I'm having though is that I'm not really sure on how to call it.. What I'm wanting to do is take the input in one textfield, translate it, and...
  9. Shukusei

    iFrame height

    Actually, it is indeed possible to have your IFrame sized based on content, and here's the code to do it: <script language="JavaScript" type="text/javascript"> <!-- function frm_onload(frmname) { frmname.frameElement.height = frmname.document.body.scrollHeight+20; } //--> </script> And put...
  10. Shukusei

    Find out whether a node exists

    Couldn't you check the value of the node by putting it into a variable, and then testing whether it's null or not?
  11. Shukusei

    layers

    If your layers are inside of tables that are not absolutly positioned, the browser will resize your page, and because your layers are in absolute pixel measurements, they'll stay the same size, but their positioning might get messed up. If that's the case, make sure your wrappers(tables...
  12. Shukusei

    Problems with Pop Ups in Frames

    Try using parent.mainFrame
  13. Shukusei

    Problem with images not overlaying properly

    You need to make sure that your layers have the appropriate z-index values. For instance: If the underlaying images z-index are lower than the z-index for the circle text, it should appear above them. ie: <div layer="top" style="z-index:3"></div> <div layer="middle"...
  14. Shukusei

    Sifting through a large array,

    I don't think that would work... Here's the print_r of the array: http://test.kithulu.com/test.php All I need is the sections with the tagname being date, mood, music, subject, entry, and then their corresponding values.
  15. Shukusei

    Sifting through a large array,

    Okay, in my last post, I asked for help with why I wasn't getting anything out of my script, and found it to be because I wasn't sending the right information through to the array. Well, now I have the array working, and giving me everything I need, only I have two problems; the array is...
  16. Shukusei

    XML parsing

    Okay, output should be understandable now. And yeah, it's most definatly giving me *everything* about the XML tree.... Is there an easy way to sift through it so that I only get the info I need; ie: entries?
  17. Shukusei

    XML parsing

    I'm not sure how I'm going to work this.... http://test.kithulu.com/test.php shows the value of the $journalEntries variable, and as you can see it's giving me *every* value, including the ones used for constructing the XML tree. Now, I'm not sure how to get it to loop through so I can have...
  18. Shukusei

    XML parsing

    Aha! I got it, I messed up a bit in the search query for what I was looking for.. I tried using foreach, and it looped through successfully, though it ended up crashing when I uncommented the echo statements(I changed them to print when I uncommented). I then tried using the regular for...
  19. Shukusei

    XML parsing

    So now to figure out why it's not setting anything into the variable.... I'm going through the help files, just to double check I did what I was supposed to do...
  20. Shukusei

    XML parsing

    print_r($journalEntries); is giving me nothing... Maybe the array is messing up? Shouldn't it at least be printing an empty array?

Part and Inventory Search

Back
Top