Webmaster Forum


Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.


Reply
 
LinkBack Thread Tools Display Modes
Share |
  #1 (permalink)  
Old 02-03-2007, 08:24 AM
swiftmed's Avatar
Senior Member
 
Join Date: 08-01-06
Posts: 546
iTrader: 0 / 0%
Please help me. php problem

Hey Guys,

im really confused over this issue. basically if you go to http://www.4design4style.com/directory.php and click on any one of the images in the centre of the page it takes you to another page.

You will see that the url changes to somthing like http://www.4design4style.com/boutiqu...c%20Cities#809. The problem i have is the page that it goes to is all buggered up. there is no styles to it, all the colours and fonts are wrong etc, and i cannot find the page that controls to output on that page.

As you can see in the url it goes to www.4design4style.com/boutique/.... but that boutique directory doesnt exist, so why is it going to there, and how can i find the page that controls the styles. i have looked into the code on the database page and this seems to be the line that controls the url it goes to when an image is clicked:

Code:
while($randarray = mysql_fetch_assoc($randq)) { $randomarray[] = $randarray['photo']; $randomlinkarray[] = 'boutique/' . $randarray['Sub1'] . '/' . $randarray['Sub2'] . '/' . $randarray['Sub3'] . '#' . $randarray['id']; }
Can anybody please help or advise please?
 
Reply With Quote
  #2 (permalink)  
Old 02-03-2007, 09:41 AM
Ferre's Avatar
No Longer Active
Latest Blog:
None

 
Join Date: 10-15-03
Location: Amsterdam, Netherlands
Posts: 6,908
iTrader: 0 / 0%
*Moved to Coding Forum.
 
Reply With Quote
  #3 (permalink)  
Old 02-03-2007, 10:42 AM
exam's Avatar
Senior Member
Latest Blog:
None

 
Join Date: 04-20-06
Posts: 278
iTrader: 0 / 0%
What script are you using for your directory?
__________________
~exam~
 
Reply With Quote
  #4 (permalink)  
Old 02-05-2007, 12:54 AM
digiweb's Avatar
Contributing Member
 
Join Date: 04-07-06
Location: Manchester, NH
Posts: 722
iTrader: 1 / 100%
Looks ok to me in ie and firefox
 
Reply With Quote
  #5 (permalink)  
Old 02-05-2007, 01:37 AM
Arenlor's Avatar
Senior Member
Latest Blog:
None

 
Join Date: 01-02-07
Location: PA, USA
Posts: 191
iTrader: 0 / 0%
boutique/' . $randarray['Sub1'] . '/' . $randarray['Sub2'] . '/' . $randarray['Sub3'] . '#' . $randarray['id'];
That's why it's going to the boutique dir, because it's looking from the current page (I guess index.php) then it looks for this is the current dir boutique/sub1/sub2/sub3#id
so change boutique to what it should be such as ./sub1/sub2/sub3#id would look in the current dir down to sub1 on, and would be ./ ../ would look in the dir above the current dir for sub1 on down.
__________________
Need a page made? Draw a diagram, I suggest using Paint, show the picture with your post, it'll help a lot more than you think. Other questions? Draw a diagram for that too!
 
Reply With Quote
Go Back   Webmaster Forum > Web Development > 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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Google's China Problem (and China's Google Problem) - NYTimes Sunday Mag (4/23/06) Julie Google Forum 4 10-26-2009 02:54 PM
Problem with godaddy. Post your problem here!! charlesgan Web Hosting Forum 11 04-21-2009 05:34 AM
CSS problem blelisa Web Design Lobby 4 03-05-2004 02:32 PM


V7N Network
Get exposure! V7N I Love Photography V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 04:24 AM.
Powered by vBulletin
Copyright © 2000-2013 Jelsoft Enterprises Limited.
Copyright © 2003 - 2013 Escalate Media LP




Search Engine Optimization by vBSEO 3.6.0 RC 2 ©2011, Crawlability, Inc.