Return to iWEBTOOL

Go Back   iWEBTOOL Talk > The Web and your Website > Programming > PHP
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
 
Welcome to iWEBTOOL Talk, where you talk about webmaster-related stuff.
 
Discuss topics which interest you.
With over thousands of threads (topics), we're sure you'll find something that'll interest you.
Ask for help whenever you need it.
We have thousands of members who are available to help you if you need it.
It's absolutely FREE!

 1  Register           2  Browse the board           3  Discuss whatever may interest you!
 


Closed Thread
 
Thread Tools Search this Thread Display Modes
Old 08-22-2007, 02:41 PM   #1
lepunk
Newcomer
 
lepunk's Avatar
 
Join Date: Aug 2007
Posts: 4
lepunk is on a distinguished road
Default links and w3

I'm trying to make a php site which is generating valid xhtml code. but I fail with links like index.php?menu=something&id=212

the site is http://phpstuff.net (not the only xhtml problem is that but that is what I cannot understand)

how can I fix it?
lepunk is offline  
 
This is an Ad Revenue Sharing forum Place your advert here
SEO Checklist
Get yourself better ranking with
our "Do-it-Yourself" SEO Checklist.
Click Here
Old 08-22-2007, 03:04 PM   #2
Resonate
Member
 
Resonate's Avatar
 
Join Date: May 2007
Location: A Remote server
Posts: 225
Resonate will become famous soon enough
Send a message via ICQ to Resonate Send a message via AIM to Resonate Send a message via MSN to Resonate Send a message via Yahoo to Resonate Send a message via Skype™ to Resonate
Default

When validating to xHTML with links such as "index.php?menu=something&id=212" you must be aware when writing the code that the & value is present with these. You can validate links by changing them into the & so the link you showed as an example

index.php?menu=something&id=212

With the & into &

index.php?menu=something&id=212

Looking through the code some more there are many sloppy errors but you can fix them

Line 89:
<div style="padding:10px;padding-bottom:0px;">
<div style="padding:10px; padding-bottom:0px; ">

Line 90:
This is your category list to the left there are alot of errors there the correct code below:
<h1>Categories</h1>
<div class="sidemenu c1"><a href="index.php?menu=showcat&amp;cid=1">Our Scripts</a> (7)<br />
-&gt; <a href="index.php?menu=showcat&amp;cid=33">ACG Surf 1.0</a> (4)<br />
-&gt; <a href="index.php?menu=showcat&amp;cid=40">ACG-PTP</a> (2)<br />
-&gt; <a href="index.php?menu=showcat&amp;cid=37">ACGNews 1.0</a> (1)<br />
-&gt; <a href="index.php?menu=showcat&amp;cid=38">Etopbiz-surf plugins</a> (1)<br />
-&gt; <a href="index.php?menu=showcat&amp;cid=34">GC plugins</a> (2)<br />
-&gt; <a href="index.php?menu=showcat&amp;cid=39">Instant Payout Autosurf</a> (5)<br />
-&gt; <a href="index.php?menu=showcat&amp;cid=36">PTCinvest ment 1.0</a> (1)<br />
-&gt; <a href="index.php?menu=showcat&amp;cid=41">RateMySit e</a> (1)<br />
<a href="index.php?menu=showcat&amp;cid=28">Other Scripts</a> (5)<br />
-&gt; <a href="index.php?menu=showcat&amp;cid=42">Cheap PHP/Ajax scripts</a> (17)<br />
-&gt; <a href="index.php?menu=showcat&amp;cid=29">Paid-to-Autosurf</a> (9)<br />
-&gt; <a href="index.php?menu=showcat&amp;cid=30">Site clones</a> (1)<br />
<a href="index.php?menu=showcat&amp;cid=31">Other Templates</a> (1)<br />
-&gt; <a href="index.php?menu=showcat&amp;cid=32">Autosurf templates</a> (9)<br />
<a href="index.php?menu=showcat&amp;cid=43">E-books</a> (12)<br />
<a href="index.php?menu=showcat&amp;cid=44">Turnkey sites</a> (3)<br />

<a href="index.php?menu=showcat&amp;cid=45">Databases </a> (3)<br /></div>


Line 147:
Price: <b>$1</b> (<a href="index.php?menu=buyscript&scriptid=197&rights =1">BUY NOW!</a>)<br />
<form>
<h2>Featured: <span class="yellow">Image Hosting Script</span></h2>
<table width="90%" align="center" cellpadding="2" cellspacing="1" border="0">
<tr>
<td width="40%" align="center" valign="top"><img src="./images/nopic.gif" width="150" height="150" alt="Image Hosting Script" /></td>
<td width="60%" align="left" valign="top">Author: <strong>softworldpro</strong><br />
<br />
Price: <strong>$1</strong> (<a href="index.php?menu=buyscript&amp;scriptid=197&am p;rights=1">BUY NOW!</a>)<br />
Price with resell rights: <strong>$2</strong> (<a href="index.php?menu=buyscript&amp;scriptid=197&am p;rights=2">BUY NOW!</a>)<br />
Price with master rights: <strong>$3</strong> (<a href="index.php?menu=buyscript&amp;scriptid=197&am p;rights=3">BUY NOW!</a>)<br /></td>
</tr>
</table>
</form>
They are your major page errors, your page should validate but you will have warnings you simply need to clean up the code a little in certain areas but that is simple to do with PHP as they come in sections.php

Hope this Helps

Last edited 08-22-2007 at 04:19 PM.
Resonate is offline  
 
This is an Ad Revenue Sharing forum Place your advert here
Webmaster Tools Webmaster Tools Click Here
Closed Thread

(Threads which have no activity for more than 30 days are automatically closed.)



Quick Reply
Message:

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
3 new phpLinkBid MODs! Latest Links, Remote Links & Directory Stats Tekime Directories 0 07-19-2007 11:16 PM
Featured Links $7 Regular Links $5 For Lifetime Links! linkpro Links for Sale 2 10-24-2006 10:09 PM
I need links in exchange for Sitewide links on PR3 website ridesign Link Exchange 3 10-03-2006 07:31 PM
PR5 Links from $8.00 - Sitewide links from $15 - PR4 Links from $4 QWI Links for Sale 0 05-03-2006 08:20 PM
PR5 directory featured links and site-wide links for only $1.49 and $ 9 articles-hub Links for Sale 0 05-01-2006 01:28 PM


All times are GMT. The time now is 10:39 PM.


Powered by vBulletin v3.6.7 © 2008, Jelsoft Enterprises Ltd. SEO by vBSEO © 2006, Crawlability, Inc.