Click here to Skip to main content
15,879,535 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: A beginner's question Pin
Bradml13-Feb-07 20:12
Bradml13-Feb-07 20:12 
GeneralRe: A beginner's question Pin
Bulky Fellow13-Feb-07 20:20
Bulky Fellow13-Feb-07 20:20 
GeneralRe: A beginner's question Pin
Bradml13-Feb-07 20:27
Bradml13-Feb-07 20:27 
QuestionDrop-down menu written in Javascript not working in IE6 Pin
MayyMagdy12-Feb-07 23:22
MayyMagdy12-Feb-07 23:22 
QuestionProblematic PHP Navigation Code: [modified] Pin
AndrewVos12-Feb-07 23:18
AndrewVos12-Feb-07 23:18 
AnswerRe: Problematic PHP Navigation Code: Pin
MatrixCoder13-Feb-07 6:58
MatrixCoder13-Feb-07 6:58 
GeneralRe: Problematic PHP Navigation Code: Pin
AndrewVos13-Feb-07 23:34
AndrewVos13-Feb-07 23:34 
AnswerRe: Problematic PHP Navigation Code: Pin
#realJSOP13-Feb-07 7:51
mve#realJSOP13-Feb-07 7:51 
When I need to do php stuff inside html, I build the string and then echo it.

<?php

$strHtml  = "<div id=\"header\"></div>";
$strHtml .= "<div id=\"container\">";
$strHtml .= "<ul id=\"nav\">";
$strHtml .= "<li ";
if (is_home()) 
{
    $strHtml .= "id=\"current\"";
}
$strHtml .= ">"
$strHtml .= get_settings('home');
$strHtml .= " title=\"home\">home</a>";
$strHtml .= "</li>";

$strHtml .= "<li>";
$strHtml .= "<a href=\"?paged_id=110\">.NET Search</a>";
$strHtml .= "</li>";
$strHtml .= "</ul>";
$strHtml .= "</div>";

echo $strHtml;
?>


You also have an extra /ul and were missing a /div...









"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001


GeneralRe: Problematic PHP Navigation Code: Pin
Bradml13-Feb-07 20:10
Bradml13-Feb-07 20:10 
QuestionFile Input in my Language Pin
Tyler4512-Feb-07 22:17
Tyler4512-Feb-07 22:17 
AnswerRe: File Input in my Language Pin
DavidNohejl13-Feb-07 12:01
DavidNohejl13-Feb-07 12:01 
AnswerRe: File Input in my Language Pin
Bradml13-Feb-07 20:10
Bradml13-Feb-07 20:10 
Questionplz help me in registering new user on Mail server Pin
EEmaan12-Feb-07 18:19
EEmaan12-Feb-07 18:19 
GeneralRe: plz help me in registering new user on Mail server Pin
Guffa12-Feb-07 19:33
Guffa12-Feb-07 19:33 
QuestionDrop-down menu written in Javascript not working in Firefox Pin
irisz12-Feb-07 17:52
irisz12-Feb-07 17:52 
AnswerRe: Drop-down menu written in Javascript not working in Firefox Pin
Bradml12-Feb-07 18:22
Bradml12-Feb-07 18:22 
AnswerRe: Drop-down menu written in Javascript not working in Firefox Pin
badgrs12-Feb-07 23:50
badgrs12-Feb-07 23:50 
GeneralRe: Drop-down menu written in Javascript not working in Firefox Pin
irisz13-Feb-07 5:37
irisz13-Feb-07 5:37 
QuestionSaving images to a database Pin
moseti12-Feb-07 5:19
moseti12-Feb-07 5:19 
AnswerRe: Saving images to a database Pin
Kschuler12-Feb-07 9:04
Kschuler12-Feb-07 9:04 
QuestionWEB application Pin
Mangorange12-Feb-07 4:43
Mangorange12-Feb-07 4:43 
GeneralCheck for file access [modified] Pin
Rage12-Feb-07 4:39
professionalRage12-Feb-07 4:39 
GeneralRe: Check for file access Pin
Bradml12-Feb-07 12:01
Bradml12-Feb-07 12:01 
GeneralRe: Check for file access Pin
Rage13-Feb-07 6:03
professionalRage13-Feb-07 6:03 
QuestionWeb Services Pin
LCI12-Feb-07 3:57
LCI12-Feb-07 3:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.