Search the Community
Showing results for tags 'command'.
-
Hi!I recently programmed a Websit and put it on XAMPP, only to see that the PHP include command responisble for the Website does'nt work.Here is the HTML: <!doctype html><html><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width" /> <title>About me.</title> <link rel="stylesheet" href="style.css" /></head><body> <header> <h1>My Pages.</h1> </header> <?php require 'sidebar.php'; ?><div id="main" margin-top="5px"> <div id="ut"> <h2>Lorem Ipsum</h2> Dolor sit amet. </div> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas tincidunt sodales tellus et condimentum. Vestibulum ac magna ac enim venenatis porttitor vel a lorem. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi placerat massa fermentum justo tempor in rutrum erat tempor. Phasellus tempus rhoncus odio, id mattis ipsum viverra id. Fusce in lectus vel dolor interdum laoreet. In ut mi velit. </div> </div></body></html> and here is the sidebar.php: <html><body><div id="sidesec">The Sidebar of Doom!<br>-------------------------<br><ul style="list-style-type: disc; text-align: left;"><li><a href="#">Home</a></li><li><a href="#">About me.</a></li></ul></div><div id="sidesec">Lorem Ipsum<br>dolor sit amet,</div></div>';?></body></html> I've tried it on multiple browsers now, but it does not show the sidebar. Please tell me what i'm doing wrong, as I have no more Idea what to try.
-
Good day, firstly, please bear with me as I am a newbie but keen on learning.I am using Bluefish editor in Linux Ubuntu 10.1. I downloaded a template and succesfully created a website but for the life of me can I not get the form on the contact page to submit directly to a specified info@ ... address. I did however get it ot open the inquirer's email client thus for the time being just created an email link.Below find the script as pertained in the template ... if anyone could be so kind as to assist me in the correct command to send the form to an info@ address when the submit button is clicked I would truly appreciate it: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <form id="contact" method="post" action="#"> <div class="row1"> <span class="formlabel">your name</span> <span class="forminput"><input type="text" /></span> </div> <div class="row1"> <span class="formlabel">your email address</span> <span class="forminput"><input type="text" /></span> </div> <div class="row1"> <span class="formlabel">your enquiry</span> <span class="forminput"><textarea cols="28" rows="11" class="textarea"></textarea></span> </div> <div class="spacer"> </div> <div class="row1"> <span class="formlabel"></span> <span class="forminput"><input type="submit" value="submit" class="submit" /></span> </div> </form> Thank you in anticipation and I do appreciate the W3Schools website, I am learning all I know from there!