This topic is locked

Newbie Help....

3/15/2010 10:10:43 AM
PHPRunner General questions
I
intelligentwebdesign author

Hello,
i'm new to the world of php and mysql and have started using phprunner as it seems an usefull solution while i get to grips with the language etc,
ive got a basic form which is mysql led and i want to use a tick/checkbox to enter a tinyint (1) into the database on submision, i cant find an option within phprunner for this.
basically i want a tick box that when unticked will enter a '0' or when ticked enters a '1' into the DB , can anybody help me with this? as i am unsure on the code.
all nad any help will be appreciated, i have had a search through the forum but cannot find anything......

R
rgfischerjr 3/15/2010



Hello,
i'm new to the world of php and mysql and have started using phprunner as it seems an usefull solution while i get to grips with the language etc,
ive got a basic form which is mysql led and i want to use a tick/checkbox to enter a tinyint (1) into the database on submision, i cant find an option within phprunner for this.
basically i want a tick box that when unticked will enter a '0' or when ticked enters a '1' into the DB , can anybody help me with this? as i am unsure on the code.
all nad any help will be appreciated, i have had a search through the forum but cannot find anything......


When you create your database the field should be typed as boolean. In PHPR Visual Editor, right click on the field, select properties. and select checkbox on the View As tab.