> I think what you are looking for is $input2->textContent in PHP. Hey Andrew (and everyone else was was kind enough to write back) ! Found the solution, this is what i am using (and it works!), and i hope it helps anyone else who finds themselves in the spot i found myself $inputs2 = $dom->getElementsByTagName('textarea'); // Find textareas foreach ($inputs2 as $input2) { if(!$input2->nodeValue || $input2->nodeValue=="") { $input2->nodeValue="it works!"; } } Cheers guys! /R -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php