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 Wanet Telecoms Ltd 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: RPGguy
  • Content: Threads
  • Order by date
  1. RPGguy

    Hundred year date conversion

    I have to search a database where all dates are stored in 'hundred year' format (10/27/2007 = 39380). I've looked all over but have not seen a function or any PHP code to do this. Thanks in advance for any help.
  2. RPGguy

    Use reset button to reset an array

    I was given the following code by the great JPADIE. It loads column names in an array then displays a checkbox and column name on the form for each occurance. I would like to add a 'reset' button that will remove any check in a box and redisplay the column names and empty boxes. As always...
  3. RPGguy

    PHP dynamic dropdown w/JS Definitive version?

    I've spent 2 hours searching for an answer to what seems to be a simple function so I need the help of experts. I have a mySql table of students in a school. I have a page where I list all students (by default) in the school. In the heading, I have a dropdown which allows the user to select a...
  4. RPGguy

    Dynamic Dropdown onclick syntax error

    I have a table containing members of a boy's choir. There are 4 types of claases within the choir. My PHP script lists the members fine. I have a field that I want to use to filter the list by whatever choir type the user selects. I fill the dropdown dynamically from a table of choir types...
  5. RPGguy

    Using dropdown and mySQL & PHP

    I have created a function (works fine) that will display a dropdown list of a columns values in a table. I want to create a dynamic sql WHERE clause based on the fields on a form and the values in them. When I place this statement in an empty script the text box works fine...
  6. RPGguy

    Checkbox timing issue

    In the script below I begin with the first checkbox selected. If I check the second box and click the submit button, the parameter list I build does not pick up the second checkbox. Any ideas. Thanks as always for the help. Scott <? $order = ""; if (isset($_POST['first_name'])) $order .=...
  7. RPGguy

    Need opinions on selecting a programming language

    My company will be developing a data warehouse (SQLServer) for marketing purposes. Myself and another programmer will be responsible for developing a user interface on the company intranet allowing users to view and analize the data collected. They will also need to enter data into tables. As...
  8. RPGguy

    Image degradation using browser on website

    I have a customer that provided a CD containing pictures of their product. When I double-click a file on the CD the image is opened using 'Windows Picture and Fax Viewer' and looks beautiful. I put the pictues on the website but they look like crap with straight lines appearing wavy, etc. The...
  9. RPGguy

    Form not using dates passed. Need PHP, HTML expert

    I'm calling a script from my main menu without passing from and to date. The script will use today(from) + 30 days(to) if no date passed. This works fine, here is the code: <? $today = Date(&quot;Y-m-d&quot;); $from = $_REQUEST[&quot;fromd&quot;]; $thru = $_REQUEST[&quot;thrud&quot;]; if...
  10. RPGguy

    Reaload Page Using Form Field as Variable!

    This page shows data with an mySQL select based on a date. The default date is 'today' (and works fine) but the user can change the date via a pop up calendar. I need to have the page reload and execute the SQL select using the new date. The form piece of the script is: <form...
  11. RPGguy

    ONCE and FOR ALL Reload Parent from Pop Up

    I've read all the previous threads and hope someone has the definitive answer. I have a window that has 2 vertical frames. If the user clicks the plus(+) sign in the right frame I execute a script that adds a row to a table and displays an 'Updated' message. When the user clicks the 'Return'...
  12. RPGguy

    Popup within popup doesn't pop

    I have a form(1) that opens a popup(1) when a button is clicked. In that popup, the user can click a box with a minus(-) sign that should open another popup(2) which is smaller than popup(1). Problem is popup(2) opens in the same space as popup(1) and doesn't really popup at all. I'm using HTML...
  13. RPGguy

    Design &amp; Logic Question PHP mySQL HTML

    I'm not sure of the best way to approach this application and I'd like a smart way to do it. I have 2 tables, the first is a parts master list. The second contains equipment and all the parts that go into the equipment. I'm thinking I want a screen with two frames. The left frame shows the...
  14. RPGguy

    Function code executes prematurely

    I'm trying to get the hang of functions using PHP and JavaScript but I have a problem I can't fix. My HTML for a form starts with: <html> <head> <? include(&quot;banner.html&quot;); include(&quot;navigate.html&quot;); include(&quot;custtitle.html&quot;); require (&quot;function.php&quot;)...
  15. RPGguy

    Setting READONLY value conditionally

    When populating my customer entry form I would like the Customer # field set to read only only if I'm not in 'ADD' mode. I use this code to set what script is to call based on my input variable: if ($key == &quot;**add&quot;) { $type=&quot;addCust.html&quot;; } else {...
  16. RPGguy

    TOUGH QUESTION-NEED FORM EXPERT

    I suspect this won't be easy. I have a form to enter customers with 10 or so input fields. The form is described as: <form method=POST action=&quot;updCust.html&quot;> and the update button as: <td><input type=&quot;submit&quot; value=&quot;Update Customer&quot; name=&quot;B1&quot;></td> This...
  17. RPGguy

    Drop down w/multiple columns

    I checked FAQ and came up empty so here goes: I would like a drop down list showing 2 rows from my Customer table(customer number and name). When the user clicks I would like to return only the customer #. I'm using PHP, mySQL and HTML. Thanks in advance for your help. Scott
  18. RPGguy

    Can't update table using HTML, PHP and mySQL

    Thanks to all for your help. Going from 20 years of RPG to this is quite a shock. I found nothing in the FAQ so here goes: I've 2 fields on my page: <input type=&quot;text&quot; name=&quot;name&quot; value=&quot;<? echo $line2 [Name]; ?>&quot; size=&quot;33&quot; tabindex=&quot;2&quot; ></td>...
  19. RPGguy

    HTML and PHP Parameters

    I am creating a website using HTML, PHP and mySQL. I can pass a parameter from 1 page to another using the URL but I don't know how to retrieve it in HTML or PHP. An example of the simpleist method would be great. Also, I would like to make the column headings of a list page into buttons that...
  20. RPGguy

    Access append query won't work on form

    I have an append query that uses 2 variables found on a form. When I run the query by itself it asks for the variable values and works fine. When I run it in my form nothing happens. Since the query works I won't show that but here is the subroutine that executes it: Private Sub...

Part and Inventory Search

Back
Top