Click here to Skip to main content
15,844,903 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: A beginner's question Pin
Bradml13-Feb-07 21:12
Bradml13-Feb-07 21:12 
GeneralRe: A beginner's question Pin
Bulky Fellow13-Feb-07 21:20
Bulky Fellow13-Feb-07 21:20 
GeneralRe: A beginner's question Pin
Bradml13-Feb-07 21:27
Bradml13-Feb-07 21:27 
QuestionDrop-down menu written in Javascript not working in IE6 Pin
MayyMagdy13-Feb-07 0:22
MayyMagdy13-Feb-07 0:22 
QuestionProblematic PHP Navigation Code: [modified] Pin
AndrewVos13-Feb-07 0:18
AndrewVos13-Feb-07 0:18 
AnswerRe: Problematic PHP Navigation Code: Pin
MatrixCoder13-Feb-07 7:58
MatrixCoder13-Feb-07 7:58 
GeneralRe: Problematic PHP Navigation Code: Pin
AndrewVos14-Feb-07 0:34
AndrewVos14-Feb-07 0:34 
AnswerRe: Problematic PHP Navigation Code: Pin
#realJSOP13-Feb-07 8:51
mve#realJSOP13-Feb-07 8: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 21:10
Bradml13-Feb-07 21:10 
QuestionFile Input in my Language Pin
Tyler4512-Feb-07 23:17
Tyler4512-Feb-07 23:17 
AnswerRe: File Input in my Language Pin
DavidNohejl13-Feb-07 13:01
DavidNohejl13-Feb-07 13:01 
AnswerRe: File Input in my Language Pin
Bradml13-Feb-07 21:10
Bradml13-Feb-07 21:10 
Questionplz help me in registering new user on Mail server Pin
EEmaan12-Feb-07 19:19
EEmaan12-Feb-07 19:19 
GeneralRe: plz help me in registering new user on Mail server Pin
Guffa12-Feb-07 20:33
Guffa12-Feb-07 20:33 
QuestionDrop-down menu written in Javascript not working in Firefox Pin
irisz12-Feb-07 18:52
irisz12-Feb-07 18:52 
AnswerRe: Drop-down menu written in Javascript not working in Firefox Pin
Bradml12-Feb-07 19:22
Bradml12-Feb-07 19:22 
AnswerRe: Drop-down menu written in Javascript not working in Firefox Pin
badgrs13-Feb-07 0:50
badgrs13-Feb-07 0:50 
GeneralRe: Drop-down menu written in Javascript not working in Firefox Pin
irisz13-Feb-07 6:37
irisz13-Feb-07 6:37 
QuestionSaving images to a database Pin
moseti12-Feb-07 6:19
moseti12-Feb-07 6:19 
AnswerRe: Saving images to a database Pin
Kschuler12-Feb-07 10:04
Kschuler12-Feb-07 10:04 
QuestionWEB application Pin
Mangorange12-Feb-07 5:43
Mangorange12-Feb-07 5:43 
GeneralCheck for file access [modified] Pin
Rage12-Feb-07 5:39
professionalRage12-Feb-07 5:39 
GeneralRe: Check for file access Pin
Bradml12-Feb-07 13:01
Bradml12-Feb-07 13:01 
GeneralRe: Check for file access Pin
Rage13-Feb-07 7:03
professionalRage13-Feb-07 7:03 
QuestionWeb Services Pin
LCI12-Feb-07 4:57
LCI12-Feb-07 4: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.