Search found 5 matches
- Sat May 22, 2010 8:20 pm
- Forum: PHP - Code
- Topic: any alternative of file_get_contents
- Replies: 4
- Views: 255
any alternative of file_get_contents
I used the below codes. but it does'nt return anything. is there any alternative? plz help me $googleurl="http://www.google.com/search?q=define:bios"; $file = file_get_contents($googleurl); $define0=explode("<ul",$file); $define1=explode("ul>",$define0[1]); echo "<...
- Sat May 15, 2010 12:22 pm
- Forum: PHP - Code
- Topic: get variable from flat file
- Replies: 3
- Views: 179
Re: get variable from flat file
Thanks for ur reply. but isn't there any simple function where i can direct get variable. I meen just find the variable (eg.$b) and output the data?
- Sat May 15, 2010 12:00 pm
- Forum: PHP - Code
- Topic: get variable from flat file
- Replies: 3
- Views: 179
get variable from flat file
Hello I m not so advanced in php. I m new in php. I have a flat file named "data". In the file "data" content is as below $a=The$b=quick$c=brown Now I want that a file will get variable data from the file Say get data of variable $b so that I can output "quick" as echo ...
- Mon Aug 31, 2009 7:18 pm
- Forum: PHP - Code
- Topic: how to find row number from table by specific cell content
- Replies: 1
- Views: 106
how to find row number from table by specific cell content
I have a table with 10 row and 30 column. Now I need to find which row contain specific word in column 2.
Say there is a word find ind row 8 and column 2.
If someone submit find then my code will return the value 8
Can anybody help me
Say there is a word find ind row 8 and column 2.
If someone submit find then my code will return the value 8
Can anybody help me
- Mon Aug 31, 2009 10:52 am
- Forum: PHP - Code
- Topic: extra "<<" in my php code output why
- Replies: 1
- Views: 89
extra "<<" in my php code output why
my php code is below <?php $url="http://dsebd.org/latest_share_price_all.php"; $abc=file_get_contents($url); // Example 1 $pieces = explode('tr', $abc); echo "<table border=\"1\">"; echo "<tr".$pieces[1]; // piece2 echo "<tr".$pieces[2]; // piece1 ec...