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 sizbut 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: *

  1. andyfresh

    How to display one result from a db result set at a time

    ...active x object, start an XMLHttpRequest } var file = 'text1.php?page='; //This is the path to the file we just finished making * xmlhttp.open('GET', file + page, true); //Open the file through GET, and add the page we want to retrieve as a GET variable **...
  2. andyfresh

    scrolling through ajaxs results

    ...active x object, start an XMLHttpRequest } var file = 'text1.php?page='; //This is the path to the file we just finished making * xmlhttp.open('GET', file + page, true); //Open the file through GET, and add the page we want to retrieve as a GET variable **...
  3. andyfresh

    display results from a database in javascript

    Hi, Ajax is always one option but as i dont know the ins and outs of it I was wondering if there was a way through javascript. Do you think this would be the best option?
  4. andyfresh

    display results from a database in javascript

    Hi, Does anyone know how to collect information from a database and then display it in an array built within javascript. These are the three pages I have currently: The first is the html page which will hopefully display the results. <html> <head> <script src="getcontents.js"></script>...
  5. andyfresh

    checkbox variable

    Hi all, I would like to thank you for all your help. There are a lot of good ways around this. I can see I still have a lot to learn. I have also looked into the rules around forms and such like which has been a great help. Thank you again
  6. andyfresh

    message screen saver script.

    Simple and yet fantastic. Thank you
  7. andyfresh

    message screen saver script.

    Hi Most people have seen a script similar to the following which displays a list of messages like a screensaver in a text area box however does anyone know how to display these messages in the same screensaver format but not inside one of the text boxes? I dont mind if its in between a...
  8. andyfresh

    checkbox variable

    Hi all, Im sure this is an easy one just need some fresh eyes on the script. This script is a simplified one that im working on but the theory is the same. When the check box is clicked I would like the javascript to run so that the screen redirects to website.php along with the value from the...
  9. andyfresh

    pulling results of SQL into Java

    Hi, I need some help on some simple java. Basically what I would like to do is to run a SQL script and then the results from that script to be passed into Java. The code I currently have is: <html> <head> <meta name="GENERATOR" content="Microsoft FrontPage 5.0"> <meta name="ProgId"...
  10. andyfresh

    pulling a value from a text box

    Thanks for all your ideas. I used the %> <Input Type=Button onclick='DeleteLine(<%=objRs("id")%>);' value="Delete" id=Button1 name=Button1></TD></TR> <% method however the function at the top doesnt seem to pick up the id. Do I need to pass this through the browser when it refreshes ie. a...
  11. andyfresh

    pulling a value from a text box

    ...= Server.CreateObject ("adodb.recordset") objRs.CursorType = adOpenForwardOnly objRs.LockType = adLockReadOnly objRs.CursorLocation = adUseServer '**************************************************************************************** SQL= **SQL SCRIPT HERE**...
  12. andyfresh

    PHP calling a java script with a variant

    Hi thanks I tried and it does help however I have realised that its pulling in the $RSS variant from the address. So instead I have changed the code to the following however still no luck in pulling in the variant from the hidden text box. Any ideas? Andy <script language="JavaScript"...
  13. andyfresh

    PHP calling a java script with a variant

    Hi, Im currently writing a php script which has a hidden text box which contains a value pulled from a sql query which I know does return a result. When a check box is clicked a java script function is called which refreshes the page with the value in the hidden box becoming a variant. The...
  14. andyfresh

    Pie chart GD

    Hi there, Iv changed the piece of code as suggested (stupid mistake) So it now reads <img src="image2.php?data=10*9*11*10&label=Denmark*Germany*USA*Sweden"> However it now appears like I have typed in the incorrect file name. However I know this isnt true as I linked it to a normal image...
  15. andyfresh

    php.ini, php_gd2.dll, startup

    Hi im not sure if this will help however when I had a problem installing GD i unncommented the extension like you have however in the php.ini file I also changed the following statement ; Directory in which the loadable extensions (modules) reside. ;extension_dir = "./" to the correct...
  16. andyfresh

    Pie chart GD

    ...= 16; // Height on shadown. $shadow_dark = true; // true = darker shadow, false = lighter shadow... $height = $width/2; $data = explode('*',$data); if ($label != '') $label = explode('*',$label); for ($i = 0; $i < count($label); $i++) { if ($data[$i]/array_sum($data) < 0.1) $number[$i] =...
  17. andyfresh

    if statement with wildcards

    ...whereby I would like to use the following code however im unsure on how to create the IF statement. Range("L940").Select If ActiveCell Like "*" And ActiveCell.Offset(0, 1).Range("A1").Value And " " And "*" Then MsgBox ("correct") Else MsgBox ("incorrect") End If The above statement...
  18. andyfresh

    Find and replace all but numeric

    Hi What im trying to do is for example if a cell in column P = 120g x boxes then I would like it to delete all the text but the 120. Andy
  19. andyfresh

    Find and replace all but numeric

    Hi, Is it possible to delete everything from a coloumn that isnt numeric?? Regards Andy
  20. andyfresh

    search and replace a string within a string

    Hi, Is it possible to search for a string within all cells from a column and then delete that part of the sting in sql analyzer?? Regards Andy

Part and Inventory Search

Back
Top