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?
User Profile
Collapse
-
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... -
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) ; ?>">... -
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']))... -
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
... -
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] -
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,... -
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??????? ? -
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, nameLeave a comment:
-
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] =>...Leave a comment:
-
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] =>...Leave a comment:
-
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...Leave a comment:
-
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]Leave a comment:
-
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!";
...Leave a comment:
-
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.
thanksLeave a comment:
-
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... -
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]
...Leave a comment:
-
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 )
{
...Leave a comment:
-
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... -
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???? ??????Leave a comment:
No activity results to display
Show More
Leave a comment: