PhotoPlog

Go Back   PhotoPlog > PhotoPlog.com > Miscellaneous Foobar
Screens Demo Purchase Download Register

Reply
Attention: Last reply in this thread was more than 17 Years ago
 
Thread Tools
  #1  
Old 06-23-2007, 07:21 PM
luker luker is offline
Yellow Plog
 
Join Date: Jun 2007
Posts: 59
Gallery: 0
Comments: 0
Default Query doesn't work?

Whenever a username ($Name) has spaces in it, this query doesn't work.
Code:
Content visible to registered users only.
Is there a way to fix this?
Reply With Quote
  #2  
Old 06-23-2007, 07:59 PM
Morgan's Avatar
Morgan Morgan is offline
Head Plog
Admin
 
Join Date: Dec 2005
Posts: 5,324
Gallery: 10
Comments: 25
Default

Check whether the space in $Name is a + or %20 or whatever, and then consider the PHP str_replace function.
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks.
While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams
Reply With Quote
  #3  
Old 06-23-2007, 08:09 PM
luker luker is offline
Yellow Plog
 
Join Date: Jun 2007
Posts: 59
Gallery: 0
Comments: 0
Default

I took a look at the database and the source and it appears as a space, so I tried this
Code:
Content visible to registered users only.
nothing...
Reply With Quote
  #4  
Old 06-23-2007, 08:40 PM
Morgan's Avatar
Morgan Morgan is offline
Head Plog
Admin
 
Join Date: Dec 2005
Posts: 5,324
Gallery: 10
Comments: 25
Default

Code:
Content visible to registered users only.
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks.
While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams
Reply With Quote
  #5  
Old 06-23-2007, 10:56 PM
luker luker is offline
Yellow Plog
 
Join Date: Jun 2007
Posts: 59
Gallery: 0
Comments: 0
Default

when I view the source, this is what I get
Code:
Content visible to registered users only.
Reply With Quote
  #6  
Old 06-23-2007, 11:12 PM
Morgan's Avatar
Morgan Morgan is offline
Head Plog
Admin
 
Join Date: Dec 2005
Posts: 5,324
Gallery: 10
Comments: 25
Default

Check whether 'Jamie Ann' has actually uploaded any files. If so:
Code:
Content visible to registered users only.
You need to find where the space is being treated differently.
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks.
While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams
Reply With Quote
  #7  
Old 06-23-2007, 11:39 PM
luker luker is offline
Yellow Plog
 
Join Date: Jun 2007
Posts: 59
Gallery: 0
Comments: 0
Default

when I use that, all i get is Jamie Ann
Reply With Quote
  #8  
Old 06-23-2007, 11:45 PM
Morgan's Avatar
Morgan Morgan is offline
Head Plog
Admin
 
Join Date: Dec 2005
Posts: 5,324
Gallery: 10
Comments: 25
Default

Without seeing all of your code, all I can do is guess, so consider getting a programmer to look at your code. Please note though that I'm not available for any freelance work at this time, so I'm sorry, but I won't review your code. If you want to upload your code, not any PhotoPlog code, in the hopes that someone else will look at it, feel free.
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks.
While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams
Reply With Quote
Reply

« Previous Thread | Next Thread »

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
german translation doesn't work Franzis Troubleshooting & Problems 4 02-05-2008 10:02 AM


All times are GMT. The time now is 10:06 PM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.