Quote:
Originally Posted by nation-x
I made you an example...
http://lifestyleamateurs.com/test.php
this is the php script I am posting to.
Code:
<?php
$galleries = preg_split("/\r?\n|\r/", $_POST['textarea']);
foreach($galleries as $gallery) {
list($url, $description) = explode('|', $gallery);
echo "<a href='{$url}'>{$description}</a><br>\n";
}
?>
|
THAT's what I'm talkin' about! lol. Using the html instead of json wasn't working before but the example you made is perfect.
And yeah certifiedhosting did have magic quotes on, just turned it off. I also installed firebug a couple days ago but haven't restarted firefox yet since I have like 30 damn tabs open.
Thanks a million, hopefully I won't have to come back here and 'bug' ya'll again lol.