Re: [PHP] Links

2007-03-07 Thread fedt

:|

if i want link 3,

$result = mysql_query(SELECT address FROM db.links WHERE link_id=3);
$foo = mysql_fetch_assoc($result);
echo 'a href='.$foo['address'].'this is link 3/a';

On 3/7/07, StainOnRug [EMAIL PROTECTED] wrote:



Hello.. I searched for an answer on the simple quesiton but I am only
finding
complex answers... I simply just want to add a link in my database so when
my results display you can see the information.. and when they click the
link it takes them to the webpage of the article. I tried inserting
examplesite.com User sees this text   but when the results page shows.. it
doesnt show the hyperlink.. Thank you all very much!



  -Darren

   Thanks again!
--
View this message in context:
http://www.nabble.com/Links-tf3366303.html#a9365950
Sent from the PHP - General mailing list archive at Nabble.com.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





--
|~ fedt ~|


Re: [PHP] Launch a seperate process

2007-03-06 Thread fedt

pcntl_ fork() and pcntl_ wait(), yo

On 3/6/07, Brad Fuller [EMAIL PROTECTED] wrote:



Is there a way in a php script to launch another script but output
something
and exit (terminating the original request) before that script finishes?

I have a script that accepts data, does some stuff, returns a response and
exits.

I want that page to accept data, return a response and exit.  Then the
stuff
happens.

Make sense?

I am STFW right now, but nothing yet.

Any advice is much appreciated.

Thx,

B

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php