User Profile

Collapse

Profile Sidebar

Collapse
txguy
txguy
Last Activity: Jan 19 '08, 06:20 AM
Joined: Aug 24 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • txguy
    replied to program alert
    yes, could change the routine ... but then everyone would know it waas running. dont want that. want a routine that I can start to check and then alert if the routine is running.

    any suggestions?
    See more | Go to post

    Leave a comment:


  • txguy
    started a topic program alert

    program alert

    we have a js routine that is triggered by various other mouse and keyboard actions ... this js routine runs in the background at completion exits, all without the user knowing it is running ... we would like to find a routine to load that would watch for this js routine and when the js routine starts an on screen alert (maybe a simple red x) would appear at say screen location 10/10 while the js routine is running .

    any suggestion...
    See more | Go to post

  • txguy
    started a topic php derived total
    in PHP

    php derived total

    as a novice I can't get this one figured out and would appreciate any advice or help you could offer.

    am trying to pass a php derived total to a html form that passes the info to paypal. our form variable with the php looks like this ...

    [code=html]

    <input type="hidden" name="amount" value="<?php if(isset($_GET['tc'])) echo ($_GET['tc'] + 25.99 + rTXSTax) ; ?>">...
    See more | Go to post
    Last edited by Atli; Dec 9 '07, 02:30 PM. Reason: Fixed [code] tags

  • txguy
    started a topic passing php variable to input form
    in PHP

    passing php variable to input form

    we have a checkbox selection table that enables a user to check the items they wish to purchase. the submit on this table processes the selections and complete an order form using php. the resultant total of all items and all price is then calculated using php to produce the following ...

    [php code]

    <!-- ORDER/ITEM DESCRIPTION -->
    1 Lot of <span id="tItem2"><?p hp if(isset($_GET['ti']))...
    See more | Go to post

  • txguy
    started a topic echo text to a text box
    in PHP

    echo text to a text box

    we have a php generated order form that has textboxes for the item description a customer has selected to order. the code is working perfectly, but the text in the textboxes are at a normal font size, size12, and we would like to make the text smaller so that we can have a bigger text description.

    we either need to reduce the font size or create a two line text box. any suggestions? please help

    thanks
    ...
    See more | Go to post

  • txguy
    started a topic How to change the font size of a input box

    How to change the font size of a input box

    have an order form that is created using php, the text field defaults to normal sized font, how can we change the font to a smaller size????

    [php]

    echo "<td><input size='45' name='Descripti on' id='Description ".$item_inf o['item']."' value=\"" . $item_info['desc']. "\" readonly='reado nly' type='text'></td>" ;

    [/php]
    See more | Go to post
    Last edited by Atli; Oct 3 '07, 09:24 PM. Reason: Fixed the [php]...[/php] tags.

  • Grabbing a custom attribute from a checkbox element

    have a page with lotsa checkboxes, am using javascript to count the number of boxes checked and to total the prices for all boxes checked. would like to pass the "descriptio n" of each checkbox but cant get the code to trap this field.

    here's what the checkbox looks like ...

    [code=javascript]

    <input type="checkbox" name="C02074" id="C02074" value=1 descrip="size,...
    See more | Go to post

  • txguy
    started a topic will pay for php solution
    in PHP

    will pay for php solution

    with paypal for php/html order page that uses checkbox data from page1 and calculates qty and extended item pricing, any interest??????? ?
    See more | Go to post

  • txguy
    replied to PHP with html form elements to an order page
    in PHP
    eliminated the html code, just php and I only get the original array values for the total functions from page1, stil dont get the checkbox element values; descrip, price, name
    See more | Go to post

    Leave a comment:


  • txguy
    replied to PHP with html form elements to an order page
    in PHP
    if I delete the

    [code=php]
    session_start() ;
    [/code]

    from page2, I dont get the session error, but I still dont get the input data element from page1 just the array totals from page1

    Array ( [AllColscount] => 1 [selections] => Tarps [AllColstotal] => $ 149.39 [Col01count] => 0 [Col02count] => 0 [Col03count] => 0 [Col04count] => 0 [Col05count] => 1 [Col06count] =>...
    See more | Go to post

    Leave a comment:


  • txguy
    replied to PHP with html form elements to an order page
    in PHP
    thanks, page1 works but get the following from page2 ...

    Warning: session_start() [function.sessio n-start]: Cannot send session cache limiter - headers already sent (output started at /home/ihh-2693/it-happens-here-www/test/st/popchecks.php:3 ) in /home/ihh-2693/it-happens-here-www/test/st/popchecks.php on line 5
    Array ( ) Array ( [AllColscount] => 2 [selections] => Tarps [AllColstotal] => $ 147.20 [Col01count] =>...
    See more | Go to post

    Leave a comment:


  • txguy
    replied to PHP with html form elements to an order page
    in PHP
    thanks very much for your help.

    got a session error

    Warning: session_start() [function.sessio n-start]: Cannot send session cookie - headers already sent by (output started at /home/ihh-2693/it-happens-here-www/test/st/sct-00.php:5) in /home/ihh-2693/it-happens-here-www/test/st/sct-00.php on line 6

    Warning: session_start() [function.sessio n-start]: Cannot send session cache limiter - headers already sent...
    See more | Go to post

    Leave a comment:


  • txguy
    replied to PHP with html form elements to an order page
    in PHP
    got the following

    Parse error: syntax error, unexpected T_DOUBLE_ARROW on line 9

    [code=php]
    <html>
    <head>


    <?php
    session_start() ;
    foreach( $_POST as $_key => $_val )
    {
    $_SESSION[$_key] => $_val;
    }
    ?>

    [/code]
    See more | Go to post

    Leave a comment:


  • txguy
    replied to PHP with html form elements to an order page
    in PHP
    with the following as my second page ...
    [code=php]
    <?php
    $descrip = $_POST['descrip'];
    $price = $_POST['price'];

    echo $descrip, '<br />';

    print_r($_POST) ;

    import_request_ variables('p', 'p_');
    echo $p_descrip;

    echo "You ordered ". $descrip . " " . $price . ".<br />";
    echo "WOOHOO!";
    ...
    See more | Go to post

    Leave a comment:


  • txguy
    replied to PHP with html form elements to an order page
    in PHP
    when I try

    [code=php]

    <?php
    echo $_POST['descrip'];
    echo $_REQUEST['price'];

    import_request_ variables('p', 'p_');
    echo $p_descrip;


    ?>
    [/code]

    all I get is the form with no data.
    thanks
    See more | Go to post

    Leave a comment:


  • txguy
    started a topic pass product descrip to php array
    in PHP

    pass product descrip to php array

    have a php shopping cart that uses a product array to build the order form.


    Code: ( php )
    $products=array (
    array ("item01", "descriptio n", price),
    array ("item02", "descriptio n", price),
    array ("item03", "descriptio n", price),
    );


    we're trying to pass the itemnumber, description, and price to this script form...
    See more | Go to post

  • txguy
    replied to PHP with html form elements to an order page
    in PHP
    got that part thanks ... I have updated all pageone names to include "parts[xxxxx] and have page one is working fine ... I've built page two with the php code in the top with the table layout and input field names using the $name and the loop function you recommended ... I've saved this file as both name.php and name.htm neither or working ... my form instruction on page one and my submit are as follows ...

    [code=html]
    ...
    See more | Go to post

    Leave a comment:


  • txguy
    replied to PHP with html form elements to an order page
    in PHP
    adding the element name change to htm page one works ok, and I have created a html page two with the following php ...

    [code=php]

    <?php

    $Item=$_GET["item"];
    $Description=$_ GET["descrip"];
    $UnitPrice=$_GE T["price"];
    $SubTotal=$_GET["AllColstot al"];

    foreach( $_POST['parts'] as $name => $checked )
    {

    ...
    See more | Go to post
    Last edited by pbmods; Aug 26 '07, 06:28 PM. Reason: Changed [php=code] to [code=php].

    Leave a comment:


  • txguy
    started a topic PHP with html form elements to an order page
    in PHP

    PHP with html form elements to an order page

    Hello and thanks. have a html form with 1210 checkboxes that define item description, number and price. would like to find a PHP script that reads these values when the checkbox is checked and then creates and displays a pre-filled order form with Item number, description, unit price and adds a text box where the user can select quantity.

    each item checkbox data looks like this ...

    [code=html]

    <input...
    See more | Go to post

  • I agree ... I originally posted this in the PHP forum, but it got moved to this forum

    PHP runs fine on my web server and that would be a great solution,

    any suggestions???? ??????
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...