Jump to content
php.lv forumi

Mainiigaa ieposteeshana *.txt failaa


Agnisr

Recommended Posts

kaads nevareetu paskaidrot kaa es vareetu textu tieshi repleisot, pienjemsim man ir viesu graamata, un veeletos smaidinjus salikt... un tas pienjemsim ':)' tiktu displejots kaa bilde tas arii ar str_replace ir padaraams?

 

 

paldies

Link to comment
Share on other sites

  • Replies 35
  • Created
  • Last Reply

Top Posters In This Topic

Aizvieto ":)" ar "<img src="purni/smaida.png" width="15" height="15" alt=":)">"

16690[/snapback]

 

 

he he ... nu jaa to principu es saprotu, tikai kaa to man izdariit maybe kaads vareetu pateikt? kur to likt, vai pie ievades txt failaa, vai pie izvades no txt faila?

Link to comment
Share on other sites

Pie izvades no teksta faila.

16698[/snapback]

 

un ar kaadu funkciju to var izdariit ? ar to pashu str_replace?

 

$komentaars = str_replace(":)","<img src=bilde.jpg width=4 height=4",$komentaars);

 

shaadi?

Link to comment
Share on other sites


×
×
  • Create New...