RE: [PHP-DB] A newbie question

2001-08-15 Thread Brunner, Daniel

Hello!!

Here use ECHO instead.


echo ("Art_Job&HOSTNAME=$HOSTNAME&DATABASE=$DAT
ABASE$table=$table>$data->Art_Number");


Notice $data->Art_job...

$data is coming from mysql_fetch_object($result);

That way you click on the actual Field result..Or in this case The
Art Number...


And the ? and & are added varibles to the linkwhich is passed to the
next pageWhich then can be used for whatever you want...


Dan






> --
> From: Wilmar Pérez
> Sent: Wednesday, August 15, 2001 8:47 AM
> To:   PHP List
> Subject:  [PHP-DB] A newbie question
> 
> Hi guys
> 
> This may sound a bit silly but don't know how to do it.  I've got the
> following print statements, I would like them to be links, how do I do
> that?
> 
>   print("Comunicaciones");
>   print("Invidentes");
>   print("Circulación");
>   print("Referencia");
>   print("Hemerotecas");
>   print("Centro Referencial");
>   print("Patrimonio Cultural");
>   print("Capacitación");
>   print("Procesos Técnicos");
> 
> Thanks a lot
> 
> Pd:  The Link  gives me an error on
> loading
> the page
> 
> ---
> Wilmar Pérez
>  IT Manager - Central Library
>  University of Antioquia
>Medellín - Colombia
>   tel: ++57(4)2105145
> ---
> 
> 
> -- 
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail:
> [EMAIL PROTECTED]
> 
> 

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP-DB] A newbie question

2001-08-15 Thread Walter, Marcel

You tried this:
print("Link"); <= Watch the " ... How
should print know where your output is terminating ?

Try either:
print "Link";  <- In here you can use
variables (like: $link) they will get parsed ...
Or:
print 'Link';<- Note: In here you cannot
use variables ...

> -Original Message-
> From: Wilmar Pérez [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, August 15, 2001 15:48
> To:   PHP List
> Subject:  [PHP-DB] A newbie question
> 
> Hi guys
> 
> This may sound a bit silly but don't know how to do it.  I've got the
> following print statements, I would like them to be links, how do I do
> that?
> 
>   print("Comunicaciones");
>   print("Invidentes");
>   print("Circulación");
>   print("Referencia");
>   print("Hemerotecas");
>   print("Centro Referencial");
>   print("Patrimonio Cultural");
>   print("Capacitación");
>   print("Procesos Técnicos");
> 
> Thanks a lot
> 
> Pd:  The Link  gives me an error on loading
> the page
> 
> ---
> Wilmar Pérez
>  IT Manager - Central Library
>  University of Antioquia
>Medellín - Colombia
>   tel: ++57(4)2105145
> ---
> 
> 
> -- 
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DB] A newbie question

2001-08-15 Thread Wilmar Pérez

Hi guys

This may sound a bit silly but don't know how to do it.  I've got the
following print statements, I would like them to be links, how do I do that?

  print("Comunicaciones");
  print("Invidentes");
  print("Circulación");
  print("Referencia");
  print("Hemerotecas");
  print("Centro Referencial");
  print("Patrimonio Cultural");
  print("Capacitación");
  print("Procesos Técnicos");

Thanks a lot

Pd:  The Link  gives me an error on loading
the page

---
Wilmar Pérez
 IT Manager - Central Library
 University of Antioquia
   Medellín - Colombia
  tel: ++57(4)2105145
---


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]