PHP Frage

Bash, Shell, PHP, Python, Perl, CGI
synoo
Posts: 21
Joined: 2005-03-13 15:42

PHP Frage

Post by synoo »

Hallo,
wie baue ich

Code: Select all

follow="yes"
da rein?
fwrite($file_link,"<a href="$sitemap_rel$link/">$anzeigen</a><br> n");

Sollte so aussehen

Code: Select all

fwrite($file_link,"<a href="$sitemap_rel$link follow="yes">$anzeigen</a><br> n");
Danke für eure hilfe
outofbound
Posts: 470
Joined: 2002-05-14 13:02
Location: Karlsruhe City

Re: PHP Frage

Post by outofbound »

Hä ?
User avatar
Joe User
Project Manager
Project Manager
Posts: 11176
Joined: 2003-02-27 01:00
Location: Hamburg

Re: PHP Frage

Post by Joe User »

man grep
man sed
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
materia
Posts: 21
Joined: 2005-03-15 15:06

Re: PHP Frage

Post by materia »

synoo wrote:Hallo,
wie baue ich

Code: Select all

follow="yes"
da rein?
fwrite($file_link,"<a href="$sitemap_rel$link/">$anzeigen</a><br> n");

Sollte so aussehen

Code: Select all

fwrite($file_link,"<a href="$sitemap_rel$link follow="yes">$anzeigen</a><br> n");
Danke für eure hilfe
Respekt.. Frage incl. Lösung in einem Posting. :roll:
synoo
Posts: 21
Joined: 2005-03-13 15:42

Re: PHP Frage

Post by synoo »

die sache ist das dieser code bei mir nicht funktioniert.

Kriege diese meldung:
Parse error: parse error, unexpected T_STRING in /home/www/web0/html/Computer/site.php on line 940

wenn ich da so einbaue geht garnichts mehr, wie mache ich das richtig

fwrite($file_link,"<a href="$sitemap_rel$link /" follow="yes">$anzeigen</a><br> n");

die fertige Url sollte so aussehen:
<a href="http://www.test.de/Wirtschaft/666.html" follow="yes">Mehr Informationen</a>

Gruß
Mark
wgot
Posts: 1675
Joined: 2003-07-06 02:03

Re: PHP Frage

Post by wgot »

Hallo,

fwrite($file_link,"<a href="$sitemap_rel$link" follow="yes">$anzeigen</a><br> n");

Gruß, Wolfgang
synoo
Posts: 21
Joined: 2005-03-13 15:42

Re: PHP Frage

Post by synoo »

Danke Wolfgang,
hat wunderbar geklappt

Gruß
Mark
User avatar
Joe User
Project Manager
Project Manager
Posts: 11176
Joined: 2003-02-27 01:00
Location: Hamburg

Re: PHP Frage

Post by Joe User »

Code: Select all

fwrite($file_link,"<a href="$sitemap_rel$link" follow="yes">$anzeigen</a><br />n");
EDIT: Zu spät...
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.