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
Re: ミニ白扇の使い方 (3)
msg# 1.1
自己レスです。
うまくいかなかった原因がわかりました。
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