Jump to content
Sign in to follow this  

Using mysqli_result instead of mysql_result!

Recommended Posts

I don't know how to use "mysqli_result()" function, with general arguments.


In "mysql_result()" function, it was like this :- "mysql_result($query, 'row', 'feild')".


Here First argument is the "query",


Second argument is the specific "row" in the database,


Third argument is the "field name" of the row.


I don't know if the arguments are same for "mysqli_result()" or not, or maybe more arguments are included or excluded!!!!



Hey, I noticed the same question has been asked by so many different members!! in the Forum. Focusing to different use.


But one more thing I noticed that the actual implementation is not here,

Like "mysqli_result('argument1', 'argument2', 'argument3');".


Basically the implementation is quite simple, but heres the confusion thing, and thats the correct arguments, as I've show in most upper example!!?

Edited by Yatendra

Share this post

Link to post
Share on other sites

When in doubt, just look up the documentation. There's not a mysqli_result function:




There's a mysqli_result class though, which represents the result of a statement.



Share this post

Link to post
Share on other sites

Thnkx for the refrence, 'justsomeguy'.

Solved the issue though.

Share this post

Link to post
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.

Sign in to follow this  

  • Create New...