1
cmagana
mysql_seek, how do I use it with xoops?
  • 2003/12/29 8:43

  • cmagana

  • Not too shy to talk

  • Posts: 131

  • Since: 2003/11/8


Hello, I know that in XOOPS mysql_query is equivalent to $xoopsDB->query and mysql_num_rows is equivalent to $xoopsDB->getRowsNum, etc., but mysql_seek I don't know how to use it.

I want that my module fence to being 100% compatible with xoops, for that reason I want to only use XOOPS code.

I wait for his help.

2
Mithrandir
Re: mysql_seek, how do I use it with xoops?

What is mysql_seek?

On mysql.com I find mysql_data_seek, mysql_field_seek and mysql_row_seek but no mysql_seek.

What does it do?

3
cmagana
Re: mysql_seek, how do I use it with xoops?
  • 2003/12/30 5:13

  • cmagana

  • Not too shy to talk

  • Posts: 131

  • Since: 2003/11/8


I'm sorry, I wrote bad, I had to write mysql_data_seek

4
cmagana
Re: mysql_seek, how do I use it with xoops?
  • 2003/12/30 19:35

  • cmagana

  • Not too shy to talk

  • Posts: 131

  • Since: 2003/11/8


can somebody help me?

5
Mithrandir
Re: mysql_seek, how do I use it with xoops?

I have no idea, what the command does, but you could make a new function in the MySQLDatabase class similar to the existing ones with mysql_data_seek

6
cmagana
Re: mysql_seek, how do I use it with xoops?
  • 2003/12/30 20:11

  • cmagana

  • Not too shy to talk

  • Posts: 131

  • Since: 2003/11/8


OK, but this new function will not be oficial. I will tray this.
Thanks

7
Mazarin
Re: mysql_seek, how do I use it with xoops?
  • 2010/5/17 18:48

  • Mazarin

  • Just can't stay away

  • Posts: 533

  • Since: 2008/12/10


While this may be a candidate for bump of the month ( ), I still thought I'd post the answer if anyone else wonders.

Since you're dealing with an already fetched recordset, you don't need the db object. Hence, it works perfectly fine using the standard mysql_data_seek command on a recordset fetched with the standard fetchRow from the xoopsDB object.

No need to create your own function

Login

Who's Online

154 user(s) are online (117 user(s) are browsing Support Forums)


Members: 0


Guests: 154


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits