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-20-2007, 03:59 AM
luker luker is offline
Yellow Plog
 
Join Date: Jun 2007
Posts: 59
Gallery: 0
Comments: 0
Default what sql statement do I use...

In order to capture the userid on a non-vb page given the username?
Reply With Quote
  #2  
Old 06-20-2007, 06:23 AM
Morgan's Avatar
Morgan Morgan is offline
Head Plog
Admin
 
Join Date: Dec 2005
Posts: 5,324
Gallery: 10
Comments: 25
Default

One possibility...
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
  #3  
Old 06-20-2007, 07:28 AM
luker luker is offline
Yellow Plog
 
Join Date: Jun 2007
Posts: 59
Gallery: 0
Comments: 0
Default

thanks, I'm playing around with that.
heres what I used to find the userid
Code:
Content visible to registered users only.
then here is how I output it
Code:
Content visible to registered users only.
http://lvasp.com/provider_page.php?ID=5
Reply With Quote
  #4  
Old 06-20-2007, 08:01 AM
ragtek ragtek is offline
Orange Plog
 
Join Date: Aug 2006
Posts: 365
Gallery: 1
Comments: 0
Default

are you sure thet you have the db
are you sure that the data are in?

there are many things they can be

than is your code not right!
with this query you get an array back(if it works) but in your output you use a variable!

$name_result['userid'] shout it be

but i'm not sure if there are more errors
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


All times are GMT. The time now is 09:08 AM.


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