PEAK XOOPS - Re: ミニ白扇の使い方 (3) in englishin japanese

Re: ミニ白扇の使い方 (3)

Target News
Subject How to use minihaku (3)
Summary How to add fields.This is an example to add two columns "sex" and "birth".I. ALTER TABLE (add columns into users table of DB)ALTER TABLE (prefix)_users ADD sex tinyint not null default 0 ;ALTER TABLE (prefix)_users ADD birth date not null default '1950...

List posts in the topic

none Re: ミニ白扇の使い方 (3)

msg# 1.1
depth:
1
Previous post - Next post | Parent - No child | Posted on 2006/12/9 20:17
tsujiemon  Private   Posts: 2
自己レスです。

うまくいかなかった原因がわかりました。
minihaku_register.phpの記述がまずかったようです。
以下、修正したものです。
---------
<td class="even"><select name="user_from"><{html_options options=$user_from_options selected=$user_from}></select></td>
---------

また、「$sex_options」という変数をセットしている場所もわかりました。
registerhook.phpの最後の方でやっているんですね。


お騒わせしまして申し訳ありませんでした。
Votes:0 Average:0.00

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!