Jump to content
php.lv forumi

Automatiskais datu ievacejs :)


GS_

Recommended Posts

taatad ielieku:

 

$sp = '/<div></div>/ism';

$data = file_get_contents('adrese.no.kura.velos.nolasit.datus');

preg_match( $sp, $data, $m );

 

echo $m;

 

 

izmet:

 

Warning: Unknown modifier 'd' in c:\program files\easyphp1-7\www\test.php on line 4

Array

 

attiecigi 4. linija:

preg_match( $sp, $data, $m );

Link to comment
Share on other sites

×
×
  • Create New...