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 Chris Miller 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: silkk
  • Order by date
  1. silkk

    Is there a way to chop an array depending on the value of a sub-array?

    Hi jpadie, yep,I took a look at the array_filter thingy and I couldn't find anything usefull at this moment. I mean - I have to search into each array value for a matching keyword and if the match is present to output the entire block. I used the code u've posted in my previous thread...
  2. silkk

    Is there a way to chop an array depending on the value of a sub-array?

    This array has values which hold strings and my goal is to find these values which have a specific word inside,to cut them (like cut & paste) and the array to remain with the rest of its values. The array is presentig the text of one bank file and the structure is specific.
  3. silkk

    Is there a way to chop an array depending on the value of a sub-array?

    Hi guys, I have an array with subarrays and I need to cut these subarrays which have a specific value in them. Is it possible? Cheers, M.
  4. silkk

    how to cut blocks of strings from a text file?

    thanks,jpadie :) this was helpful :) cheers!
  5. silkk

    how to cut blocks of strings from a text file?

    Hi guys, does somebody know some simple script how to cut blocks of strings between matchihg words in a text file? I have this: $file = ("path to the file") $word1 = "HEAD" ; $word2 = "FOOT" ; $handle = fopen($file, "r"); $contents = fread($handle, filesize($file)); fclose($handle)...
  6. silkk

    How to host PHP/MySQL site

    hi, what kind of server are u using? I think if u just upload all .php files into the /htdocs folder on your server the site should work.Also u need a database server running too. MySQL stuff u could find on http://www.sun.com/software/products/mysql/index.jsp or u could use PHPMyAdmin...
  7. silkk

    writing text file on server

    this is simple file create tutorial: $ourFileName = "testFile.txt"; $ourFileHandle = fopen($ourFileName, 'w') or die("can't open file"); fclose($ourFileHandle); cheers, M.
  8. silkk

    how to add new line before string match?

    Thanks for the posts,guys :) Zeland,this was helpful :)
  9. silkk

    how to add new line before string match?

    My task is to convert text file (something like bank transaction document with lots of spaces between the strings) into a file similar to a CSV one. I have repeating strings like HEAD and FOOT and I want to divide all the info to be in sections,starting with HEAD and ending with FOOT. After...
  10. silkk

    populate text field with value from drop down

    Hi Dan, there is only one submit button on the page and many forms.I needed to populate a text field for further processing. The problem is solved already with onChange="document.Categories.showValue.value=this.value" and <input type="text" name="showValue"> I'm newbie in Javascript :)
  11. silkk

    how to add new line before string match?

    Hi guys, I have a text file which after rtrim has only one empty space between the string. My goal is to reorder the text by using some matching function. Example: "Head sad asdg fasfa hgsdfsdf asdasd fasdf asdasd asdasdga asdas sadasd asdasd Head dasdgsdf seaseda sadas ....." I want to...
  12. silkk

    how to manage *.inh file?

    Hi guys, I have one .inh file which is prodiced from our EDI system.My task is to pull the information from the file and to populate a DB table with it. Is it possible? Help will be apreciated.
  13. silkk

    populate text field with value from drop down

    the scheme is: 1st Array - countries 2nd Array - cities 3rd Array - numbers What I'm trying to do is to get the selected value from the last drop down and to put it into a text field in another form in the page. the getValue is taking the value based on the selection of the previous drop down.
  14. silkk

    populate text field with value from drop down

    Hi guys, I have triple drop down and I want to use the value from the last selection drop down and to pass it into a text field for further prcedure with PHP. Here is the code: <Form name='Categories'> <p>Country: <Select name='List1' onChange="fillSelect(this.value,Categories.List2)"> <option...
  15. silkk

    DROPDOWN AND TABLE

    Hi, I have dropdown list and a table below it and I can't change the distance between them.It seems to be with constant end.
  16. silkk

    Applet not initialized

    Hello, can someone please tell me why i get applet not initialized when i put my applet on a server. At home it works but not when i try to start it from another location!! Thanx in advance, Silkk

Part and Inventory Search

Back
Top