1
cpascal
makedata
  • 2010/12/3 23:07

  • cpascal

  • Just popping in

  • Posts: 26

  • Since: 2010/3/20


hi

who can tell me how the file: makedata
example:
$dbm->insert('config'" VALUES (135=Table number, 0=???, 7= category number, 'blabla=function name', '_MD_AM_DEFINE', '0= enable or disable by default', '_MD_AM_DEFINE_DESC', 'yesno', 'int', 35= ?????)");



and in the file: mysql.data.sql

INSERT INTO configoption VALUES (34 = ???, '_MD_AM_WELCOMETYPE_BOTH''3=????'95=????);


thank you

2
ghia
Re: makedata
  • 2010/12/4 10:45

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


No idea what you are asking. Can you elaborate?
What do you have, want to accomplish?
XOOPS, Module, PHP version?

3
cpascal
Re: makedata
  • 2010/12/4 23:33

  • cpascal

  • Just popping in

  • Posts: 26

  • Since: 2010/3/20


hi Ghia

I mean the file makedata.php in the file .. /install/include/makedata.php

the goal is that I manage to add categories (I arrived) but I'd like to understand how.

thank you for your help this several times that I ask and I've never had a concrete answer, I'd really understand these lines of code, especially where I put ?????


4
ghia
Re: makedata
  • 2010/12/5 5:43

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


In general these fields are for doing inserts of data into the tables. They are in the order of the create for the table (see sql file or table structure in phpMyAdmin).

Login

Who's Online

48 user(s) are online (32 user(s) are browsing Support Forums)


Members: 0


Guests: 48


more...

Donat-O-Meter

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

Latest GitHub Commits