21
corne
Module submenu on index.php
  • 2005/1/20 9:28

  • corne

  • Just popping in

  • Posts: 24

  • Since: 2005/1/12


How can I include the submenu of a specific module on the index page of the module?



22
corne
Results
  • 2005/1/19 10:31

  • corne

  • Just popping in

  • Posts: 24

  • Since: 2005/1/12


How can i check if the query result is 1 row?

I must do a check, if the number of rows returned by the query = 0 than do something
if rows 1 (or > 0) do something..



23
corne
List group members
  • 2005/1/13 10:32

  • corne

  • Just popping in

  • Posts: 24

  • Since: 2005/1/12


Hi,

What is the most easy way to show a list of all the users in a group?

I want to create the following table with that:

user:  option1   option2   option3
name1  checkbox  checkbox  checkbox
name2  checkbox  checkbox  checkbox


The checkbox contains the user id...

Anyone an idea??

Thanks :)



24
corne
My own module
  • 2005/1/12 15:21

  • corne

  • Just popping in

  • Posts: 24

  • Since: 2005/1/12


Hi,

I'm trying to make my own module, only I get an error when inserting something in the database..

I'm using the following code to add something to the database:

$xoopsDB->query("INSERT INTO ".$xoopsDB->prefix("cervex_config")."(location, value) VALUES('config', 1)";


This is the first module I'm creating, I know I do something wrong, but I don't know how I must do it..

Anyone who sees what goes wrong??

(sorry for my English)

Greets Corne

edit:
Is there a tutorial or something for working with a database from XOOPS modules? Or does someone have an simple example?




TopTop
« 1 2 (3)



Login

Who's Online

190 user(s) are online (79 user(s) are browsing Support Forums)


Members: 0


Guests: 190


more...

Donat-O-Meter

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

Latest GitHub Commits