Konu
preg_replace kullanımı
09-05-2009, 16:38:44
#2
anarschi
Buyur.
Alıntı
<?php $id =$post->ID;
$the_content =$wpdb->get_var(”SELECT post_content FROM $wpdb->posts WHERE ID = $id”);
$bunlaricek = ‘çekiceğin şey’;
preg_match_all($bunlaricek, $the_content, $yakala);
$yazdir = $yakala['1'][0]; ?>