Announcement

Collapse
No announcement yet.

quick question, how do you all use fetch_array()

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • quick question, how do you all use fetch_array()

    i am working on an addition to my VBulletin board here.

    I need to know a few things... i'm adding something to usercp, the idea of uploading images... now i know how to do all that and i have done many sites with custom profiling systems.

    Now what i need to know is, how do i get the user id of the person browsing there usercp.

    i've been reading through the many files sessions.php, usercp.php, member.php(where editprofile action is located), config.php, and many more.


    However, most of these pages use this $GD_site->fetch_array($var)

    so how do i get the id? if was doing it from scratch i'd have something like
    PHP Code:
    while($var mysql_fetch_array($var1)) {
    $var["num_of_id_field"];


    so far i've gotten it how I want the portion to look, just need to know what the $var would be so i can get my info


    thanks alot
    -Mike

    Digital Media Fusion<--Web hosting and design, cheap and affordable websites for all!
    Tuner Carz Forum .:|:.Tuner Carz.:|:.Dv6cougar.com.:|:.Midwest Neco

  • #2
    i think i got it $bbusername i'l try that tommorow!

    thanks
    -Mike

    Digital Media Fusion<--Web hosting and design, cheap and affordable websites for all!
    Tuner Carz Forum .:|:.Tuner Carz.:|:.Dv6cougar.com.:|:.Midwest Neco

    Comment


    • #3
      Since these are code hacks, try asking at vbulletin.org

      You'll get lot of help there

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...
      X