List Info

Thread: HTML Link inside PHP Script




HTML Link inside PHP Script
country flaguser name
United States
2007-08-13 12:22:22
Hi,
Is it possible to create a link to another page, inside a
php script.
I mean;

If (something is true)
echo "something here";
else
display an html link


could anyone help me pls?


--~--~---------~--~----~------------~-------~--~----~
This group is managed and maintained by the development
staff at 360 PSG. An enterprise application development
company utilizing open-source technologies for todays
small-to-medium size businesses.

For information or project assistance please visit :
http://www.360psg.com

You received this message because you are subscribed to the
Google Groups "Professional PHP Developers"
group.
To post to this group, send email to Professional-PHPgooglegroups.com
To unsubscribe from this group, send email to
Professional-PHP-unsubscribegooglegroups.com
For more options, visit this group at http:
//groups.google.com/group/Professional-PHP
-~----------~----~----~----~------~----~------~--~---


Re: HTML Link inside PHP Script
user name
2007-08-13 13:30:01
if($foo==$bar)
{ echo "something"; }
else
&nbsp;{  echo "<a href='foobar.html'>click here</a>"; }

2007/8/13, ayya < ayya.14gmail.com"> ayya.14gmail.com>:

Hi,
Is it possible to create a link to another page, inside a php script.
I mean;

If (something is true)
echo "something here";
else
display an html link


could anyone help me pls?







--
http://www.burakbolek.com
Burak...
--~--~---------~--~----~------------~-------~--~----~
This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.

For information or project assistance please visit :
http://www.360psg.com

You received this message because you are subscribed to the Google Groups "Professional PHP Developers" group.
To post to this group, send email to Professional-PHPgooglegroups.com
To unsubscribe from this group, send email to Professional-PHP-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/Professional-PHP
-~----------~----~----~----~------~----~------~--~---

Re: HTML Link inside PHP Script
country flaguser name
United States
2007-08-14 05:57:54
just as a tip for any future problems you might run into,
always
remember you can display any sort of HTML in a PHP echo.


--~--~---------~--~----~------------~-------~--~----~
This group is managed and maintained by the development
staff at 360 PSG. An enterprise application development
company utilizing open-source technologies for todays
small-to-medium size businesses.

For information or project assistance please visit :
http://www.360psg.com

You received this message because you are subscribed to the
Google Groups "Professional PHP Developers"
group.
To post to this group, send email to Professional-PHPgooglegroups.com
To unsubscribe from this group, send email to
Professional-PHP-unsubscribegooglegroups.com
For more options, visit this group at http:
//groups.google.com/group/Professional-PHP
-~----------~----~----~----~------~----~------~--~---


[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )