soluzione trovata...ho risolto così
[PHP]<div id="atc_images"></div>
<textarea id="img" style="display:none" rows="30" cols="30" name="cur_image"></textarea>
<input name="invia" type="submit" value="Invia" onclick="document.getElementById('img').innerHTML = getElementById('atc_images').innerHTML";> [/PHP]
e sul db mi copia esattamente il contenuto che viene generato dentro il div "atc_images" quindi funziona...al tal proposito vorrei sapere come "filtrare" il link dell'immagine
mi spiego...questo è il codice che viene generato dentro il div
[PHP]<img style="display: inline;" src="h t t p ://news.bbcimg.co.uk/media/images/65348000/jpg/_65348094_belreuters.jpg" id="1" width="100"><img style="display: none;" src="h t t p ://news.bbcimg.co.uk/media/images/65356000/jpg/_65356067_65356066.jpg" id="2" width="100"><img style="display: none;" src="h t t p://news.bbcimg.co.uk/media/images/65367000/jpg/_65367308_coffee.jpg" id="3" width="100"><img style="display: inline;" src="h t t p://news.bbcimg.co.uk/media/images/65376000/jpg/_65376729_heart.jpg" id="4" width="100">
[/PHP]
come potete vedere c'e tutto, a me serve solo prendere il CONTENUTO di SRC dell'id 1...perchè si vede chiaramente che ci sono altre immagini con i seguenti id
in poche parole filtrandolo andrò ad avere nel campo del db il solo link dell'immagine
poi avrei anche un'altra richiesta...come faccio a fare più getElementById ??
con questo ho passato l'immagine:
[PHP]document.getElementById('img').innerHTML = getElementById('atc_images').innerHTML[/PHP]
dovrei passare anche il titolo che viene generato...come faccio a inserire un altro getElementById sempre nel pulsante?