Hallo Forum, da das Forum mir bis jetzt immer im HG mit Rat und Tat zur seite stand muß ich nun doch mal eine Frage ins Forum werfen.
Ich benutze ein Suchformular, wo die leute die Kleinanzeigen durchforsten können der validierer mosert aber.
Nun weiß ich allerdings nicht was er genau will.
Der fehler lautet:
Line 72, Column 19: NET-enabling start-tag requires SHORTTAG YES
<form action=http://www.......de/af_bs_index.php method=post></t…✉
The sequence <FOO /> can be interpreted in at least two different ways, depending on the DOCTYPE of the document. For HTML 4.01 Strict, the '/' terminates the tag <FOO (with an implied '>'). However, since many browsers don't interpret it this way, even in the presence of an HTML 4.01 Strict DOCTYPE, it is best to avoid it completely in pure HTML documents and reserve its use solely for those written in XHTML.
Quellcode:
<table width="100%" border=0 cellspacing=0 cellpadding=0 bgcolor=white style="background:url(images/bgheader.jpg);">
<tr><td>
<form action=http://www......de/af_bs_index.php method=post></td>
<td width=250><font class=normtext><b>Suche</b>
<input type=text size=15 name=searchstring>
<input type=hidden name=PHPSESSID value=34fc9e2c4600633f6466d391eaac4b87>
<input type=submit value=Suchen>
</font>
</td
PHP datei:
<table width="100%" border=0 cellspacing=0 cellpadding=0 bgcolor=white style="background:url(images/bgheader.jpg);">
<tr><td>
<form action=<?php echo "$TDL/"; ?>af_bs_index.php method=post></td>
<td width=250><font class=normtext><b><?php echo SEARCH; ?></b>
<input type=text size=15 name=searchstring>
<input type=hidden name=PHPSESSID value=<?php echo session_id(); ?>>
<input type=submit value=<?php echo BT_SEARCH; ?>>
</font>
</td>
er meckert wegen dem ersten slash in der url. ich habe auch schon die suche in gang gebracht, aber nicht das passende gefunden zumindest denke ich das oder nach dem falschen gesucht.
Hat einer von den "alten" Hasen einen Tip?
ich danke euch. Bin froh das es solch ein Forum gibt.
Viele grüße
Torben