Jump to content

What does this mean?


Recommended Posts

For the record the $ir variable doesn't make any sense. Yes, I'm talking about the name of it.

I think it makes sense if you make something out of it like "i" (as in myself) "r" (as in result) since the devs of mc use $r for pretty much everything else :p

But to make my last post a little more clear just incase it didnt really sink in, for example im user id 2 and your user id 1 I can only see the information being passed as an ir var for user id 2 and you cant see what "ir" for user id 2 only user id 1 ir vars

Link to comment
Share on other sites

It's an array of data?

It's something like this (I assume.)

$run = mysql_query("SELECT * FROM user WHERE id = '".$_SESSION['id']."'");
$ir = mysql_fetch_array($run);


Outside of mccodes this wouldn't have any meaning.

Unless you had a table called `users`, with the column `id`, and a session with the index `id` ;)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...