I posted this in the HTML,XHTML,CSS forum incorrectly, and found some help, but not really the answer I was looking for.
Here it is:
1 Jul 08 20:48
I have searched for something as simple as this, but with no luck.
I have a space constrained form, with several textfields that I want to...
I have searched for something as simple as this, but with no luck.
I have a space constrained form, with several textfields that I want to populate with a DHTML popup..
I don't want the popup to open a new window, but show up on the form page..
This is to replace list boxes that take up...
OK.. I have this following script which draws info from a table, and populates a drop down box.
I need to add a value "txtEgroup" to pass to the file in the action "update_purchase.php?typ=new".
The value for txtEgroup is derived from the table exp_item field exp_group.
Hope this makes...
Heres my query:
$querye = "SELECT e_group, sum(amount * quantity) as total FROM expense where e_date between '$arr1_date'".
" and '$dep1_date' GROUP BY e_group";
$resulte=mysql_query($querye,$db_connection);
$rowe=mysql_fetch_object($resulte);
Which returns the results I want, when run in...
I am trying to modify a script to be able to select a directory from a list of directories, zip it, then download it.. so far, I haven't been successful.
here is the form which lists the directories:
<table width="541" border="0" align="center" bgcolor="#FFFF00">
<tr>
<td...
I am trying to assign a value to a variable from a selection in a list box generated by the following code:
<form action="rateadmin.php" method="post">
<select name="file">
<? $folder = "rates/";
$handle = opendir($folder);
while...
I have a calendar grid, which has a heading that states the current month:
print('<TD class=pc align=middle colSpan=31><a href=add_reservation.php>' . $mnth[$month] . '</TD></TR>');
I want to also display the months before and after, and I have managed so far:
print('<TD class=pc...
I would like to populate textboxes with a value from a link in 3 tables, and then add them all together:
<body>
<form action="myfile.php" method="get">
<table width="200" border="1">
<tr>
<td><a href="#" onclick="setprice1(); return false;">1.00</a></td>
<td><a href="#"...
I want to have a table of different values, which the user can click on a specific value, and transfer this to a textbox.
There will be a number of different tables, each associated to a textbox.
Then I want to add all the textboxes together to make a total..
any ideas?
I have tried this to get array results to print, but not having much luck..
$arr_tot = array();
if($units=='all')
$query = "SELECT e_group, sum(amount * quantity) as total FROM expense where e_date between '$arr1_date'".
" and '$dep1_date' GROUP BY e_group";
else
$query = "SELECT e_group...
I want to create a calendar in excel that looks like
May 1 2 3 4 5 6 7 8 9 10>>etc
Line1
Line2
line3
etc
What is this format called, and does anyone know of a macro or template for this form of calendar?
I would like to add an additional field to the order summary in the admin area, so that this info:
Customer Order Total Date etc
my customer $100.00 11/11/2004
Would also include the customers suburb:
Customer Suburb Order Total Date
my customer...
I am trying to send the "extra" order confirmation emails to different addresses, based on suburb.. Here is what I have tried, but get errors..
$regionalquery = "Select suburb_email from suburb where suburb_name = '" .$order->customer['suburb'] . "'";
$regionalemail = tep_db_query...
I have an .htaccess protected directory, that has a number of subdirectories.. upon entering the subdirectory, you must reenter your username and password. (there is no second .htaccess file in the subdirectory)
The only difference I can see, is when asked for your username and password the...
While I have found many scripts for polls which use cookies/ip for limiting to one vote, I need one that uses MySql to prevent multi-votes..
Our website is secured by .htaccess and a member database.. a cookie is created upon entry to restricted area.
What I want to do is enable polling, that...
I would like to be able to access my win2k machine over the internet. The problem is that it connects via Direcway satellite, which has a dynamic ip address.
I have a unix server, which has a static ip, and would like to somehow use this as a go between...
ie: win2k dynamic ----unix static...
Can somebody tell me where I'm going wrong?:
$sql = mysql_query("SELECT `email`,`myusername`,`mypassword` FROM `tblMembers` WHERE 1 AND `firstname` LIKE '$Firstname' AND `lastname` LIKE '$LastName'") or die (mysql_error());
$array=mysql_fetch_array($sql);
$pass = $array...
I have the following line in a php script which returns the proper encrypted password:
$epass = crypt($pass,substr($pass,0,2));
I am trying to to the same thing with cgi, but no matter what I do, the password in not encrypted properly.( so the output is the same as the php line..)
Any help...
I have a script which checks the users ip, then checks a db to see if it is in it, and if it is, routes the user to a specific page, therefore denying access to a restricted area.
The db is a .txt file, and uses ranges of ip's (ie 123.45.) and bans all ips under it. Rather than listing all the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.