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 gkittelson 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: *

  • Users: dmkFoto
  • Order by date
  1. dmkFoto

    Javascript with php and parameter questions

    Is there any want to change the value of the variable in the following click before calling the javascript function? <p> <A href="javascript: alert('Clicked on link!')">Click here!</A></p> Thanks. Alex
  2. dmkFoto

    Javascript with php and parameter questions

    Can you write php code inside a javascript function? How do you pass parameter into a javascript function like the one below? I want to change the file name "Header.php" dynamically. Can this be done? <SCRIPT language="JavaScript1.2"> function alert() { testwindow= window.open ("Header.php"...
  3. dmkFoto

    How to specific number of records to retreive in a query?

    Oop! Spoke too soon. If, to get 20 records, starting with the first record is . . Limit 0, 20 Is the second 20 records . . . Limit 21, 20 or: Limit 20, 20 I am confuse with the zero base. Alex
  4. dmkFoto

    How to specific number of records to retreive in a query?

    My item file contains too many records to display. I want to limit the display to only 20 records at a time. In the Select statement, how do I specify the the first 20 records, 2nd 20, etc.? Thanks. Alex
  5. dmkFoto

    How to fill a dropdown, and capture the return?

    Thanks. It works.
  6. dmkFoto

    How to fill a dropdown, and capture the return?

    When I run the following file name Form.php ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <?php if (isset($_POST['B1'])) { echo "Hi ".$_POST['Category']." <br />; } ?> <form action="Form.php" method="post"> <p> <select size="1" name="Category"> <option value='Continuous...
  7. dmkFoto

    How to fill a dropdown, and capture the return?

    Thank you very much for the heads up. One more question, in the above example, when I press the submit button, how do I capture the value selected? Thanks. Alex
  8. dmkFoto

    How to fill a dropdown, and capture the return?

    Pardon my ignorance. This is my first dropdown so I need further clarification. Here is the code of my drop down form in HTML: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <body> <form method="POST" action="--WEBBOT-SELF--"> <!--webbot bot="SaveResults"...
  9. dmkFoto

    How to fill a dropdown, and capture the return?

    I want to put a couple of dropdowns in my webpage. The first dropdown will be filled with the categories of my products, with the first item "Select product category first!", then followed by the 10 different categories that I retreive from the database query. Would appreciate some sample...
  10. dmkFoto

    HTML editor?

    My first website was written with FrontPage ver 4 six years ago. I have just done a crashed in php/mySQL and rewrote the site with database backbone. Lot of things have changed in the past 6 years, I am sure my FP4 is totally obsolete. What would be considered a good and easy to learn and use...
  11. dmkFoto

    Can I pass a parameter to a php file?

    It is nice to know the alternative. I certainly appreciate Jpadie's recommendation. In my situation, where I have 500 items already, and am adding more as time goes by, I plan to have a frame page where on the left will be the items in that category. The left frame can be scrolled up and down...
  12. dmkFoto

    Can I pass a parameter to a php file?

    Does that mean, for 500 items currently, I have to have an array containing 500 elements? How am I going to keep track easily what array sequence is a certain item within the arrary? Also, I see the template file name is .tp. Is that an acceptable php file format? Thanks. Thanks.
  13. dmkFoto

    Can I pass a parameter to a php file?

    Maybe I am missing the point. Tell me why I don't have to create 500 somefile.php? I have 500 items and need to be able to call up 500 webpages, but with only one template file. Thanks. Alex
  14. dmkFoto

    Can I pass a parameter to a php file?

    I think there is a distinct difference in what you suggested from the one I obtained from totally another source. Your method requires the creation of 500 something.php files + one templatex.php because I have 500 different items. I don't consider posting the questions to multiple sources...
  15. dmkFoto

    Can I pass a parameter to a php file?

    The reason I am looking for passing parameter is that I have over 500 items. I want to avoid writing 500 php files. I want to write one templatex.php, and when I call the URL, I would just pass the parameter and it will then run a query from within templatex.php and display the information...
  16. dmkFoto

    Can I pass a parameter to a php file?

    I got my answer from another forum. Here it is . . . When calling the URL: templatex.php?$desc=IPOD&$name=APPLE&$color=White you can check that your parameters have content (ie the variable color is not blank) with <?php echo $_GET['$desc'] . " <br>"; echo $_GET['$name'] . " <br>"; echo...
  17. dmkFoto

    How exactly the LIKE keyword works?

    Thanks. It works great now. Alex
  18. dmkFoto

    Can I pass a parameter to a php file?

    Suppose I have a template php file as follow: templatex.php <?php echo $Desc; ?> Is there any way to past the parameter into the templatex.php file like: templatex.php/$Desc = 'IPod' Thanks. Alex
  19. dmkFoto

    How exactly the LIKE keyword works?

    I have a table named Inventory and have 3 items in it containing the work w069. I want to run a query to return the three items. My query: Select * from Inventory where Description Like 'w069' It doesn't seem to work, returning zero row. What's wrong? Alex

Part and Inventory Search

Back
Top