uczeń php
13.10.2011, 10:03:20
jak do zmiennej typu $_POST w postaci <iframe width="420" height="315" src="http://www.youtube.com/embed/vHQL9f4hcLc" frameborder="0" allowfullscreen></iframe> dodać ?wmode=Opaque. Chodzi mi oto aby w bazie danych został wstawiony taki zapis <iframe width="420" height="315" src="http://www.youtube.com/embed/vHQL9f4hcLc?wmode=Opaque" frameborder="0" allowfullscreen></iframe>
nospor
13.10.2011, 10:04:52
wersja super hard: wyrażenia regularne i preg_replace
wersja light:
str_replace
" frameborder="0" -> ?wmode=Opaque" frameborder="0"