Jump to content

jlhaslip

Members
  • Posts

    2,568
  • Joined

  • Last visited

Posts posted by jlhaslip

  1. The Headers already sent error comes from the php coding, not the SQL.There are several ways to get rid of the error. Essentially, you need to confirm that NOT ONE SINGLE thing gets sent to the Browser before the Header. Not even a single blank / empty character or line feed or anything. Have a look at the php Forum for any further explanation. There have been several discussions lately about this. Since these echo statements are (potentially) being issued before the re-direct, they are probably to blame.

    if (($pass)!=($pass2)){echo "Passwords to not match!";

  2. we need to see the html and css, please, and someone will assist you. Until we have the code, we are only guessing.And for the record, FF probably has it right... Code for Firefox and Hack for IE, with very few exceptions. And use Opera to confirm it. :)

  3. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml">	<head>		<title></title>		<meta http-equiv="content-type" content="text/html; charset=utf-8" />		<meta name="Author" content="Jim Haslip, jlhaslip@yahoo.ca" />		<meta name="Keywords" content="" />		<meta name="Description" content="" />		<meta http-equiv="expires" content="0" /><style type="text/css">/*<![CDATA[*/body { margin:0; padding:0; background-color: #ffffff;  }.left { float:left; margin-left:10em; }.right { float:right; margin-right:10em; }h1 { margin-left:auto; margin-right:auto; text-align:center; padding:0; font-size:3em; }img { margin:0; padding:0; border-style: none }#content { margin-left:auto; margin-right:auto; text-align:center; padding:.5em; padding-top:.5em; width:750px; background-color: #ffffff; }.test { 	  margin: 1.0em; 	  text-align:left; 	  background-color: #ffffff;	  padding-bottom:1em; 	  border-bottom: .2em solid #f66; 	  }.test:first-letter { float:left; font-size: 3em; font-weight: normal; }.up { background-color: #ee99ee;}.down { background-color: #eeee99; }.partial { background-color: #ee6666; }span { text-transform:uppercase; }#footer { margin-left:auto; margin-right:auto; text-align:center; padding:.5em; }/*]]>*/</style>	</head>	<body>		<div id="container">			<!-- start container div -->			<div id="hdr">				<h1>					Heading Here				</h1>			</div><!-- end hdr div here -->			<div id="content">				<!-- page content starts below this comment -->				<!-- Insert page content between the div tags here -->				<div class="test">					This is an example of a 'drop cap' formatting and text-transform:uppercase in the first line of a div. Page content here . Page					content here . <span>Sample of an in-line span here</span>. Page content here . Page content here . Page content here . Page					content here . Page content here . Page content here . Page content here . Page content here . Page content here . Page content here . Page content					here . Page content here . Page content here . Page content here . Page content here . Page content here . Page content here . Page content here .					Page content here . Page content here . Page content here . Page content here . Page content here . Page content here . Page content here . Page					content here . Page content here . Page content here . Page content here . Page content here . Page content here .				</div>				<div class="test">					This is an example of a 'drop cap' formatting and text-transform:uppercase in the first line of a div. Page content here . Page					content here . Page content here . Page content here . Page content here . Page content here . Page					content here . Page content here . Page content here . Page content here . Page content here . Page content here . Page content here . Page content					here . Page content here . Page content here . <span>Sample of an in-line span here</span>. Page content here . Page content here . Page content here . Page content here . Page content here .					Page content here . Page content here . Page content here . Page content here . Page content here . Page content here . Page content here . Page					content here . Page content here . Page content here . Page content here . Page content here . Page content here .				</div>				<div class="test">					This is an example of a 'drop cap' formatting and text-transform:uppercase in the first line of a div. Page content here . Page					content here . Page content here . Page content here . Page content here . Page content here . Page					content here . Page content here . Page content here . Page content here . Page content here . Page content here . Page content here . Page content					here . Page content here . Page content here . Page content here . Page content here . Page content here . Page content here . Page content here .					Page content here . Page content here . Page content here . Page content here . Page content here . Page content here . Page content here . Page					content here . Page content here . Page content here . <span>Sample of an in-line span here</span>. Page content here . Page content here . Page content here .				</div><!-- page content ends above this comment -->			</div><!-- end content div -->			<div id="footer">				<a href="#" title="this link goes to the map for the site">  sitemap  </a>				<a href="#" >  Contact Me  </a>				  Copyright 2004 - 2006.   				<a href="#">  Home Page  </a>				<a href="#"  >  Top of Page  </a> 				<a href="#">  valid-xhtml1.0  </a>			</div><!-- end footer div -->		</div><!-- end container div -->	</body></html>

  4. Most users will download a package from a source on the Internet and install it on their Hosting account. Most users do not 'code' their own.An example of a free Forum software that is quite popular is phpbb and can be downloaded from >> here <<. There are 'skins' (templates) to apply to them to change the colour and graphics in order that the Forum can be customized to suit your site, or, you can build your own theme by manipulating the css files.Also available at the supplier's site will be "Mods" to add features to the Forum. Some knowledge and experience will be valuable in order to install the Mods, but they aren't difficult.Phpbb is only one version of Forum software. My using that named package in this topic doesn't neccesarily mean I support it or reccomend it, but I do use it on my site. I am awaiting the release of phpbb 3, the newest one, so I can replace an older version on my site.If you want a 'plain jane' Forum, there is one named "phorum" which is quite good, too. Invision Power Boards, as per the w3schools Forum here, is a paid software, but very good and extremely popular.Google on "forum software" to get about a gazillion links to follow.And as to the installation on your Hosting account, typical users will install the software into a folder on their account under the public_html or www folder, whichever is the web-accessible folder, and then create a link from their Home page or site. There are other ways to do it as well, for example, you can have the Forum software accessible directly as your 'home' page, too. Your option.

  5. Yes, we do. You are not alone. And if you run Firefox, there is an extension to load a Validator onto your local machine, too, to save you the hassle of uoloading files all the time.If you use Firefox, download and install the Tidy Html Extension. As well, there is the Firebug Extension which reports the errors and warning on each page you view through the Browser, so if you are working on a site page, just a quick glance and you know if it is throwing any warnings or errors. I can see that there are 22 warnings on this page of the Forum. That isn't too bad for a page this complex. I've seen other Forums having over 200 warnings on a single page.Validation is good, but it isn't the only thing. Working web pages that don't break and that the client can use to meet their goals is the important stuff. Chances are that if you strive for the Validation, you will probably produce better results for the long-term for your clients.

  6. It is impossible to be just CSS if you want the menu to work in Internet Explorer - period.
    I beg to differ. Review the drop down and fly out menus at cssplay.co.uk and run them through a validator, even. They work if the install instructions and tutorials are adhered to.
  7. yes, check out phpadmin as a tool for creating databases, users, searching, testing queries, and lots of other stuff.And that is exactly the correct link to start-up the phpadmin software in XAMPP

  8. Even if they are pulled from an array, you need to sort the array some how and massage the sort order and the count of elements in the array. It doesn't need to be a DB thing.The first item would be value = $count, the next is value = $count minus 1, etc. And most likely, use an un-ordered list and include the value a an echo'd part of the <li>. (or <tr><td>)

  9. Have a look at the menus available at cssplay.co.uk. Here is one which performs this sort of effect on:hover, so you might be able to adapt something from that. Or have a look to see if other examples there might work better for you?Also, why do you use this code for the Header on the top of the page?

    <p>		<span class="index-title">Travel Agency Station</span>	</p>

    Using an <h1> tag will perform the same effect AND be more semantic, resulting in better SEO.

    <h1 class="index-title">Travel Agency Station</h1>

    Googlebots will like it better because it structures your page in a manner they are better able to index, or something like that.

  10. Save it as a pdf and then create a link to it using an anchor <a> tag.

    <a href="my_file.pdf">  My_file </a>

    I use "cutpdf" (freeware) to create pdf files from print output. Works good.

  11. I find that it helps to 'take a break' once in a while from the coding project. Leaving it alone for a day or 4 helps me get some thoughts together and I find I am more productive in the long run if I do this.As for help and assistance, post your questions here and like reportingsjr says, someone will assist you. Similarly, I would help you upon receiving a PM, too.

×
×
  • Create New...