Does anyone know the code in 1.7+ I should use to put in my HTML to display / capture a users ID? I need to display users ID in a HTML text file (news area).
Hi James, first off, for future reference, this sort of post probably belongs in the general developers forum. That said, have a look at this post, but you'll want to get $USER->id instead of $USER->firstname.