13:59 Mon Sep  3, 2007
Cheap Hummer!

12:18 Tue Jul  4, 2006
Hummer Camp After

12:15 Tue Jul  4, 2006
Hummer Camp

Help Me Humpa
PHP and MMS Server Help
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Which DVD Script?
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Help Me Humpa Forum Index -> Humpa DVD Script
View previous topic :: View next topic  
Author Message
Phree



Joined: 31 Dec 2005
Posts: 254
Location: South Coast, UK

PostPosted: Wed Dec 27, 2006 11:29 am    Post subject: Reply with quote

Hey Smile

I've just been playing around with this a little more - I'm at work and there's like nothing to do today!

I clicked on the 'Print: Text-Alpha' button on the main screen and got the listing, but it seems to double the title...If you take a look here you'll see what I mean. Also, when I had a look inside index2.php there seems to be a whole lot of other stuff that should show on that page? Inside the HTML I see things like "Genre:"; "Producer" and so on, but none of those show up...?

Any ideas? As always, no hurry - just whenever you find the time Cool

Cheers!
Back to top
View user's profile Send private message
Humpa
Site Admin


Joined: 06 Nov 2005
Posts: 10258

PostPosted: Wed Dec 27, 2006 12:23 pm    Post subject: Reply with quote

Phree wrote:
Hey Smile

I've just been playing around with this a little more - I'm at work and there's like nothing to do today!

I clicked on the 'Print: Text-Alpha' button on the main screen and got the listing, but it seems to double the title...If you take a look here you'll see what I mean. Also, when I had a look inside index2.php there seems to be a whole lot of other stuff that should show on that page? Inside the HTML I see things like "Genre:"; "Producer" and so on, but none of those show up...?

Any ideas? As always, no hurry - just whenever you find the time Cool

Cheers!
The index2.php only shows that printable stuff if you call the index2.php without any qualifiers - it just does the function list_dvds
If there is index2.php?show_dvd=21 then it will just show the dvd with the id of 21, using the function show_dvd, which is where you saw the code for the genre, director, and whatnot.

But there is an error in the function list_dvds. Find this:
Code:
$titleextra = stripslashes($title);
       $title = stripslashes($titleextra);

For one thing, I have them mixed up. Anyway, change it to this:
Code:
       $titleextra = stripslashes($titleextra);
       $title = stripslashes($title);
       $title = "$title $titleextra";
       $titleextra = "";
Back to top
View user's profile Send private message
Phree



Joined: 31 Dec 2005
Posts: 254
Location: South Coast, UK

PostPosted: Wed Dec 27, 2006 12:32 pm    Post subject: Reply with quote

Marvellous Very Happy

That worked great thanks! I'll try not to hassle you too much with this one - I think I filled my quota with your MMS script Razz
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Help Me Humpa Forum Index -> Humpa DVD Script All times are GMT - 5 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum