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...
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.
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)...
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...
this is simple file create tutorial:
$ourFileName = "testFile.txt";
$ourFileHandle = fopen($ourFileName, 'w') or die("can't open file");
fclose($ourFileHandle);
cheers,
M.
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...
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 :)
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...
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.
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.
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...
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
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.