|
|
Help Me Humpa PHP and MMS Server Help
|
| View previous topic :: View next topic |
| Author |
Message |
Phree

Joined: 31 Dec 2005 Posts: 254 Location: South Coast, UK
|
Posted: Wed Dec 27, 2006 11:29 am Post subject: |
|
|
Hey
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
Cheers! |
|
| Back to top |
|
 |
Humpa Site Admin

Joined: 06 Nov 2005 Posts: 10258
|
Posted: Wed Dec 27, 2006 12:23 pm Post subject: |
|
|
| Phree wrote: |
Hey
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
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 |
|
 |
Phree

Joined: 31 Dec 2005 Posts: 254 Location: South Coast, UK
|
Posted: Wed Dec 27, 2006 12:32 pm Post subject: |
|
|
Marvellous
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  |
|
| Back to top |
|
 |
|
|
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
|
|