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

    Hi Im currently trying to learn javascript and have used the following code followed by a second file containing a php script. The idea of this script is as follows - the php script pulls in a number of results from a database. I then would like the java script to help display only one comment...
  2. andyfresh

    scrolling through ajaxs results

    Hi all, Im currently a beginner with ajax and trying to modify this simple ajax example. What I would like to be able to do is when the next link, which is located at the bottom of the html is click I would like the ajax to find the next record in the sql results and then for it to display this...
  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

    Hi Im currently try to run this scrippt where by when the user clicks the delete button the function deleteline() function runs which will display the line id on the page. However I cant seem to get the lineid value to be sent to the broswer. Any ideas? Andy <SCRIPT id=DebugDirectives...
  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

    Hi, Im currently trying to add a pie chart to my website using GD. However when I run the following script the error Parse error: parse error in c:\inetpub\wwwroot\rateit\image3.php on line 2 comes up. I have used the following script to create the pie chart. I then use the second script to...
  17. andyfresh

    if statement with wildcards

    Hi, I currently have a spreadsheet 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")...
  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