PDA

View Full Version : php code problem?



findach
01-20-2006, 11:24 PM
Hiya all

i am in the middle of building my new site www.online-petshop.co.uk and its all going well apart from one problem. on certan pages it comes up with a row of n's and i cant seem to be able to remove them, see

http://www.online-petshop.co.uk/index.php?cPath=56_63 FOR AN EXAMPLE.

ANYONE KNOW ANYTHING ABOUT PHP CODE?

any help would be much apreacited

kind regards

j

Watdaflip
01-21-2006, 01:12 AM
I know php, but I can't tell whats wrong without the code near the problem

VodaHost
01-21-2006, 05:25 AM
very strange..have u tried editng the file?

navaldesign
01-21-2006, 06:53 AM
Hiya all

i am in the middle of building my new site www.online-petshop.co.uk (http://www.online-petshop.co.uk) and its all going well apart from one problem. on certan pages it comes up with a row of n's and i cant seem to be able to remove them, see

http://www.online-petshop.co.uk/index.php?cPath=56_63 FOR AN EXAMPLE.

ANYONE KNOW ANYTHING ABOUT PHP CODE?

any help would be much apreacited

kind regards

j


I think the problem is in Line 639 of your code:

<td align="center" class="smallText" width="33%" valign="top"><a href="http://www.online-petshop.co.uk/index.php?cPath=56_63_110&osCsid=cb27ee7724cbb4df0fcd057c54a43aec"><img src="images/I_37431_g.jpg" border="0" alt="Benny Dog Beds" title=" Benny Dog Beds " width="100" height="57"><br>Benny Dog Beds</a></td>n <td align="center" class="smallText" width="33%" valign="top"><a href="http://www.online-petshop.co.uk/index.php?cPath=56_63_85&osCsid=cb27ee7724cbb4df0fcd057c54a43aec"><img src="images/bessydb.jpg" border="0" alt="Bessy Dog Bed" title=" Bessy Dog Bed " width="100" height="57"><br>Bessy Dog Bed</a></td>n <td align="center" class="smallText" width="33%" valign="top"><a href="http://www.online-petshop.co.uk/index.php?cPath=56_63_70&osCsid=cb27ee7724cbb4df0fcd057c54a43aec"><img src="images/huntingdbbb.jpg" border="0" alt="Hunting Dog Beds" title=" Hunting Dog Beds " width="100" height="57"><br>Hunting Dog Beds</a></td>n </tr>n <tr>n <td align="center" class="smallText" width="33%" valign="top"><a href="http://www.online-petshop.co.uk/index.php?cPath=56_63_66&osCsid=cb27ee7724cbb4df0fcd057c54a43aec"><img src="images/jackydb.jpg" border="0" alt="Jacky Dog Beds" title=" Jacky Dog Beds " width="100" height="57"><br>Jacky Dog Beds</a></td>n <td align="center" class="smallText" width="33%" valign="top"><a href="http://www.online-petshop.co.uk/index.php?cPath=56_63_68&osCsid=cb27ee7724cbb4df0fcd057c54a43aec"><img src="images/jeremydc.jpg" border="0" alt="Jeremy Dog Cushion" title=" Jeremy Dog Cushion " width="100" height="57"><br>Jeremy Dog Cushion</a></td>n <td align="center" class="smallText" width="33%" valign="top"><a href="http://www.online-petshop.co.uk/index.php?cPath=56_63_64&osCsid=cb27ee7724cbb4df0fcd057c54a43aec"><img src="images/jimmy.jpg" border="0" alt="Jimmy Dog Cushion" title=" Jimmy Dog Cushion " width="100" height="57"><br>Jimmy Dog Cushion</a></td>n </tr>n <tr>n <td align="center" class="smallText" width="33%" valign="top"><a href="http://www.online-petshop.co.uk/index.php?cPath=56_63_65&osCsid=cb27ee7724cbb4df0fcd057c54a43aec"><img src="images/lenny1.jpg" border="0" alt="Lenny Dog Bed" title=" Lenny Dog Bed " width="100" height="57"><br>Lenny Dog Bed</a></td>n <td align="center" class="smallText" width="33%" valign="top"><a href="http://www.online-petshop.co.uk/index.php?cPath=56_63_71&osCsid=cb27ee7724cbb4df0fcd057c54a43aec"><img src="images/lorddb.jpg" border="0" alt="Lord Dog Beds" title=" Lord Dog Beds " width="100" height="57"><br>Lord Dog Beds</a></td>n <td align="center" class="smallText" width="33%" valign="top"><a href="http://www.online-petshop.co.uk/index.php?cPath=56_63_67&osCsid=cb27ee7724cbb4df0fcd057c54a43aec"><img src="images/montydb.jpg" border="0" alt="Monty Dog Cushion" title=" Monty Dog Cushion " width="100" height="57"><br>Monty Dog Cushion</a></td>n </tr>n <tr>n <td align="center" class="smallText" width="33%" valign="top"><a href="http://www.online-petshop.co.uk/index.php?cPath=56_63_167&osCsid=cb27ee7724cbb4df0fcd057c54a43aec"><img src="images/I_3881_g.jpg" border="0" alt="Plastic Dog Beds" title=" Plastic Dog Beds " width="100" height="57"><br>Plastic Dog Beds</a></td>n <td align="center" class="smallText" width="33%" valign="top"><a href="http://www.online-petshop.co.uk/index.php?cPath=56_63_87&osCsid=cb27ee7724cbb4df0fcd057c54a43aec"><img src="images/plushdb.jpg" border="0" alt="Plush Dog Beds" title=" Plush Dog Beds " width="100" height="57"><br>Plush Dog Beds</a></td>n <td align="center" class="smallText" width="33%" valign="top"><a href="http://www.online-petshop.co.uk/index.php?cPath=56_63_69&osCsid=cb27ee7724cbb4df0fcd057c54a43aec"><img src="images/marlodb.jpg" border="0" alt="Marlo Dog Sofa" title=" Marlo Dog Sofa " width="100" height="57"><br>Marlo Dog Sofa</a></td>n </tr>n <tr>n <td align="center" class="smallText" width="33%" valign="top"><a href="http://www.online-petshop.co.uk/index.php?cPath=56_63_86&osCsid=cb27ee7724cbb4df0fcd057c54a43aec"><img src="images/barry.jpg" border="0" alt="Barry (plush) Dog Beds" title=" Barry (plush) Dog Beds " width="100" height="57"><br>Barry (plush) Dog Beds</a></td>n </tr>

You must delete the "n"'s . It is them that appear on your screen.

findach
01-21-2006, 11:29 AM
Great!

any idea how i get to that code so i can change it?

cheers

navaldesign
01-21-2006, 11:48 AM
Great!

any idea how i get to that code so i can change it?

cheers

Where did you copy this code from? However you should copy the code in a PHP editor, and delete the "n"s, then save it and upload it again.

findach
01-21-2006, 11:58 AM
i just brought a ready made e-commerce template and they uploaded it to my ftp 4 me. there not much help in the after sales department, and i havent got a clue about php. if i paid you would you do it for me?

navaldesign
01-21-2006, 12:01 PM
i just brought a ready made e-commerce template and they uploaded it to my ftp 4 me. there not much help in the after sales department, and i havent got a clue about php. if i paid you would you do it for me?

I'll try to do that for you. No payment, it's just a hobby for me. Please send me an email to support@navaldesign.it with the file attached and i'll see what i can do. If you don't have the original file, the only way would be to give me access to your ftp so i can download it directly from your site.

navaldesign
01-21-2006, 02:21 PM
i just brought a ready made e-commerce template and they uploaded it to my ftp 4 me. there not much help in the after sales department, and i havent got a clue about php. if i paid you would you do it for me?

Ok, I have managed to debug directly from your page code, and made all the required modifications. Check out your page at:

http://www.navaldesign.info/findach/findag2.php

If it's ok for you i'll upload the file for you so you can upload it on your server

VodaHost
01-21-2006, 06:08 PM
This thread is being moved to the PHP forum.

navaldesign
01-22-2006, 02:54 PM
Hi findach, I've fixed your page code and you can have a look at it at

http://www.navaldesign.info/findach/findag2.php.

I've seen you've been online for a couple of times, but seems as though you're not interested any more.......

navaldesign
01-22-2006, 03:53 PM
I had it ready for you and uploaded for test since yesterday but i now see that today you fixed it. Well, never mind, just an hour of work for nothing...

findach
01-22-2006, 03:55 PM
thank you so much for doing that! its much appreciated! however, the company i brought it from have already changed it for me, and i am so rude i never came back to tell you! Sorry!

but its very, very much apreacited. im sure i will require your help again, as ive also got a new classifieds site in the making which is going to be a total nighmare!

once again many thanks for lookin into it for me.

james :)

navaldesign
01-22-2006, 03:57 PM
thank you so much for doing that! its much appreciated! however, the company i brought it from have already changed it for me, and i am so rude i never came back to tell you! Sorry!

but its very, very much apreacited. im sure i will require your help again, as ive also got a new classifieds site in the making which is going to be a total nighmare!

once again many thanks for lookin into it for me.

james :)

Not a problem pal. Bye