View Single Post
Old 02-25-2010, 10:55 AM  
Jakez
Confirmed User
 
Jakez's Avatar
 
Industry Role:
Join Date: Jan 2004
Location: oddfuturewolfgangkillthemall!!!!!!!
Posts: 5,656
Quote:
Originally Posted by nation-x View Post
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.
__________________
[email protected] - jakezdumb - 573689400

Killuminati
Jakez is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote