Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

Directory Submission Service   I Sell Pagerank   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 02-24-2006, 11:01 PM   #1 (permalink)
v7n Mentor
 
noob_0001's Avatar
 
Join Date: 02-17-05
Posts: 907
iTrader: 0 / 0%
Latest Blog:
None

noob_0001 is a splendid one to beholdnoob_0001 is a splendid one to beholdnoob_0001 is a splendid one to beholdnoob_0001 is a splendid one to beholdnoob_0001 is a splendid one to beholdnoob_0001 is a splendid one to beholdnoob_0001 is a splendid one to beholdnoob_0001 is a splendid one to beholdnoob_0001 is a splendid one to beholdnoob_0001 is a splendid one to beholdnoob_0001 is a splendid one to behold
Page keeps breaking

I am trying to intergrate PHPADSNEW with WSNLINKS

I have a table with two col's in one row.

The Right col is a loop for putting in the links.

The Left is a space for adverts - nothing in it.

The problem is that as long as I leave this Left with nothing in it, it all works fine. As soon as I put the PHPADSNEW code into the Left the page breaks. The Right is below the banner. The banner is 120 and I have allowed 160 for the col width - so this should be no problem.

Should I put the code in a PHP file and include it?

Any thought on this would be greatly appreciated.

Thanks in advance for all your assistance.
__________________
Confucius says:
"Those who seek internet marketing answers should use v7n search!" : )

noob_0001 is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 02-25-2006, 03:19 AM   #2 (permalink)
aka Colleen
 
Join Date: 03-25-04
Location: Canada
Posts: 5,925
iTrader: 0 / 0%
Latest Blog:
None

Kalina is a web professional of the highest orderKalina is a web professional of the highest orderKalina is a web professional of the highest orderKalina is a web professional of the highest orderKalina is a web professional of the highest orderKalina is a web professional of the highest orderKalina is a web professional of the highest orderKalina is a web professional of the highest orderKalina is a web professional of the highest orderKalina is a web professional of the highest orderKalina is a web professional of the highest order
Try reducing the width of the right column and increasing the width the left column.

I could help more if I could see the source.
__________________
Ruby Jewelry Sales
Kalina is offline  
Add Post to del.icio.us
Reply With Quote
Old 02-25-2006, 04:10 PM   #3 (permalink)
v7n Mentor
 
noob_0001's Avatar
 
Join Date: 02-17-05
Posts: 907
iTrader: 0 / 0%
Latest Blog:
None

noob_0001 is a splendid one to beholdnoob_0001 is a splendid one to beholdnoob_0001 is a splendid one to beholdnoob_0001 is a splendid one to beholdnoob_0001 is a splendid one to beholdnoob_0001 is a splendid one to beholdnoob_0001 is a splendid one to beholdnoob_0001 is a splendid one to beholdnoob_0001 is a splendid one to beholdnoob_0001 is a splendid one to beholdnoob_0001 is a splendid one to behold
Thanks Colleen. Will post code later.

This how it should look.
http://www.v7n.com/forums/gallery/fi.../Desktop55.png

This how it looks
http://www.v7n.com/forums/gallery/fi.../Desktop54.png
__________________
Confucius says:
"Those who seek internet marketing answers should use v7n search!" : )

noob_0001 is offline  
Add Post to del.icio.us
Reply With Quote
Old 02-25-2006, 07:47 PM   #4 (permalink)
v7n Mentor
 
noob_0001's Avatar
 
Join Date: 02-17-05
Posts: 907
iTrader: 0 / 0%
Latest Blog:
None

noob_0001 is a splendid one to beholdnoob_0001 is a splendid one to beholdnoob_0001 is a splendid one to beholdnoob_0001 is a splendid one to beholdnoob_0001 is a splendid one to beholdnoob_0001 is a splendid one to beholdnoob_0001 is a splendid one to beholdnoob_0001 is a splendid one to beholdnoob_0001 is a splendid one to beholdnoob_0001 is a splendid one to beholdnoob_0001 is a splendid one to behold
Javascript Code: (Used to make banner. Found in leftbanner.inc. (minus urls))
Code:
<script language='JavaScript' type='text/javascript' src=''></script> <script language='JavaScript' type='text/javascript'> <!-- if (!document.phpAds_used) document.phpAds_used = ','; phpAds_random = new String (Math.random()); phpAds_random = phpAds_random.substring(2,11); document.write ("<" + "script language='JavaScript' type='text/javascript' src='"); document.write ("); document.write ("&amp;what=zone:2"); document.write ("&amp;exclude=" + document.phpAds_used); if (document.referrer) document.write ("&amp;referer=" + escape(document.referrer)); document.write ("'><" + "/script>"); //--> </script><noscript><a href=''><img src='></a></noscript>";
Page Code:
Code:
<table width="820" cellpadding="5" cellspacing="0"> <tr valign="top"> <td width="20%"></td> <?php include("leftbanner.inc"); ?> </td> <td width="80%" valign="top" class="link"> <!-- BEGIN REGULAR LINKS --> . . . Code to put in links . . . <!-- END REGULAR LINKS --> </td> </tr> </table>
The output: Above this is everything that supose to be in the table.

Code:
<table cellpadding="5" cellspacing="0" width="820"> <tbody><tr valign="top"> <td width="20%"></td> <td class="link" valign="top" width="80%"> </td></tr><tr><!-- BEGIN REGULAR LINKS --> </tr><tr> <!-- BEGIN REGULAR LINKS --> </tr><tr> <!-- BEGIN REGULAR LINKS --> </tr><tr> <!-- BEGIN REGULAR LINKS --> </tr><tr> <!-- BEGIN REGULAR LINKS --> </tr><tr> <!-- BEGIN REGULAR LINKS --> </tr><tr> <!-- BEGIN REGULAR LINKS --> </tr><tr> <!-- BEGIN REGULAR LINKS --> </tr><tr> <!-- BEGIN REGULAR LINKS --> </tr><tr> <!-- BEGIN REGULAR LINKS --> </tr> </tbody></table>
So how do I get this code to work without wiping out the page? Do I need to put the code for making the links in another table inside the right col?
__________________
Confucius says:
"Those who seek internet marketing answers should use v7n search!" : )

noob_0001 is offline  
Add Post to del.icio.us
Reply With Quote
Old 02-27-2006, 08:22 AM   #5 (permalink)
Contributing Member
 
jwalsh's Avatar
 
Join Date: 03-22-04
Location: Cleveland, OH
Posts: 388
iTrader: 0 / 0%
jwalsh is a name known to alljwalsh is a name known to alljwalsh is a name known to alljwalsh is a name known to alljwalsh is a name known to alljwalsh is a name known to alljwalsh is a name known to alljwalsh is a name known to alljwalsh is a name known to alljwalsh is a name known to alljwalsh is a name known to all
I'm not sure if you are talking about a simple layout problem, but I experienced a similar problem that was actually involving my database connection. What a pain in the butt.

You are probably using a separate mysql database in your code, and because phpadsnew requires a consistent connection, when you connect to the other database you break the sync, and thus, things mess up on the page. Like images breaking, and tables breaking.

The solution was simple for me, combine your PHPADSNEW database tables in your other database so that you arent breaking the connection when you display an ad.

This normally isn't a problem with other scripts, but it's something to do with the consistent stream of data that PHPADSNEW requires.

Be sure to change your mysql connect settings in the PHPADS config as well to the new database.

A number of people are experiencing the same thing on the PHPADS forums as well.

Good Luck.
__________________
Cleveland Web Application Development by Designing Interactive
jwalsh is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is this Breaking CopyRight! Sheen91 Legal Issues 10 12-02-2007 11:23 AM
Finally breaking onto the first page!! thebassman SEO Forum 10 10-08-2004 11:11 AM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 04:26 AM.
© Copyright 2008 V7 Inc