Thanks for the link.. will explore the other scripts at the site.. perhaps my explanation is not clear enough.
The textfield holds a value 4 characters long, but since I desire a more lengthy description, the list box is actually about 25 characters long.
Thus, a popup menu (perhaps layer is...
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...
I have tried your suggestion(s), all without luck, but have come up with an alternative solution that solves my problems..
Again,
Thanks very much for helping out!
OK.. that fixed the error code, but it did not return any values.. so I changed :
<td>$expense[1]</td>
<td>$expense[2]</td>
<td>$expense[3]</td>
<td>$expense[4]</td>
<td>$expense[5]</td>
<td>$expense[6]</td>
<td>$expense[7]</td>
<td>$expense[8]</td>
And it worked!
Thanks very much for...
Hmm.. well that produces errors:
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/xyz/public_html/res/admin/view_revenue.php on line 198
Yes, there is a table of expense types, listing all types of products, which populates a drop down list on a form. Once selected and submitted, the info is passed to the table 'expense'.
But this has really nothing to do with my conundrum here.....
Dep = group 1
Fish = group 2
Misc = group 3
Snacks = group 4
Groceries = group 5
Cabin = group 6
Campsite = group 7
Rentals = group 8
There may not always be a value assigned to a particular group in a particular time period.
Maybe it would be better to assign these values to variables.
...from the db, and total the grand total of each tax group, for a certain time period, hence 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";
The trouble I am having is getting the...
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...
Ok, that made it work, but now the zip file contains all of the directories in the real path.. ie to get to the end directory, you have to drill down through the path to it.. is there any way to just have the selected directory in the zip file?
Thanks again!
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 think you misunderstood my initial request.. I was looking for a php solution to using a link to a javascript within the php code.
Sorry to have offended you with my confusion.
Ok.. thanks for that, but what I did in the mean time, was jsut add a couple more functions to the javascript.
Probably a little bulkier than someone who knows what they are doing, but it works..
Thanks!
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.