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 TouchToneTommy 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: canajun
  • Content: Threads
  • Order by date
  1. canajun

    popup menu style listbox

    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...
  2. canajun

    DHTML popup to populate textfields

    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...
  3. canajun

    assigning value from query result

    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...
  4. canajun

    extracting results when using group

    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...
  5. canajun

    select a directory, zip it, then download.

    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...
  6. canajun

    assigning variable value from list box

    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...
  7. canajun

    Need help with code modification - link using java within PHP

    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...
  8. canajun

    Populate text box from link in table, then add together

    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="#"...
  9. canajun

    take data from table and populate textbox

    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?
  10. canajun

    Help getting array results to print

    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...
  11. canajun

    Grid? Calendar in excel

    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?
  12. canajun

    Getting Suburb to show up in admin/orders.php

    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...
  13. canajun

    Sending order confirmation emails to different addresses..

    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...
  14. canajun

    htaccess asks for u/p on all subdirectories

    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...
  15. canajun

    PHP Poll using MySql to prevent multi votes

    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...
  16. canajun

    networking via internet with dynamic ips and a server.

    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...
  17. canajun

    Using array to assign variables

    Can somebody tell me where I'm going wrong?: $sql = mysql_query(&quot;SELECT `email`,`myusername`,`mypassword` FROM `tblMembers` WHERE 1 AND `firstname` LIKE '$Firstname' AND `lastname` LIKE '$LastName'&quot;) or die (mysql_error()); $array=mysql_fetch_array($sql); $pass = $array...
  18. canajun

    Form Validation - No Capitals Allowed!

    How can I produce an error message if a user uses capital letters in specific form input boxes? (username, password) Thanks!
  19. canajun

    Crypt - php to cgi.....

    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...
  20. canajun

    Banning or allowing IP addresses...

    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...

Part and Inventory Search

Back
Top