Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
එක පැකේජ් එකයි මාසෙටම Unlimited Internet. තාමත් DATA CARD දාන්න සල්ලි වියදම් කරනවද? අඩුම මිලට අපෙන්.
sayuru bandara
Updated:
Tuesday at 12:30 PM
Ad icon
ඉන්ටර්නෙට් එකෙන් හරියටම සල්ලි හොයන්න සහ Success වෙන්න කැමතිද? 🚀 (E-Money & Success Stories)
siri sumana
Updated:
Saturday at 11:44 PM
Gemini AI PRO 18 months Offer
Hawaka
Updated:
May 27, 2026
Ad icon
koko account
DasunEranga
Updated:
May 27, 2026
Ad icon
koko account
DasunEranga
Updated:
May 27, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
ElaKiri Talk!
PHP Help
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="Barry Allen" data-source="post: 21141473" data-attributes="member: 559999"><p>[PHP]</p><p>CREATE TABLE IF NOT EXISTS `meta_fields` (</p><p> `m_field_id` int(5) NOT NULL AUTO_INCREMENT,</p><p> `m_slug` varchar(255) CHARACTER SET utf8 DEFAULT NULL,</p><p> `m_name` text CHARACTER SET utf8,</p><p> `m_value` text CHARACTER SET utf8,</p><p> `m_type` int(1) DEFAULT NULL COMMENT '1=>Dropdown,2=>Radio,3=>Checkbox',</p><p> `m_required` tinyint(1) DEFAULT '0',</p><p> PRIMARY KEY (`m_field_id`)</p><p>) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ;</p><p></p><p>--</p><p>-- Dumping data for table `meta_fields`</p><p>--</p><p></p><p></p><p>INSERT INTO `meta_fields` (`m_field_id`, `m_slug`, `m_name`, `m_value`, `m_type`, `m_required`) VALUES</p><p>(1, 'brand', 'Brand', 'Audi,BMW,Honda,Jaguar', 1, 0),</p><p>(2, 'Transmission', 'transmission', 'Manual,Automatic,Tiptronic', 2, 0),</p><p>(3, 'fuel_type ', 'Fuel type', 'Diesel,Petrol,CNG,Other fuel type', 3, 1);</p><p></p><p>-- --------------------------------------------------------</p><p></p><p>--</p><p>-- Table structure for table `survey_meta`</p><p>--</p><p></p><p>CREATE TABLE IF NOT EXISTS `survey_meta` (</p><p> `i_meta_id` int(11) NOT NULL AUTO_INCREMENT,</p><p> `survey_id` int(11) DEFAULT NULL,</p><p> `m_field_id` int(5) DEFAULT NULL,</p><p> `i_m_value` text CHARACTER SET utf8,</p><p> PRIMARY KEY (`i_meta_id`),</p><p> KEY `survey_id` (`survey_id`)</p><p>) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;</p><p>[/PHP]</p><p></p><p>ඔය විදියට පුළුවන් වෙන්න ඕන</p><p></p><p>මේ OsClass එකේ add කරන විදිය</p><p><img src="https://blog.osclass.org/wp-content/uploads/2013/06/type-custom-field1.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p></blockquote><p></p>
[QUOTE="Barry Allen, post: 21141473, member: 559999"] [PHP] CREATE TABLE IF NOT EXISTS `meta_fields` ( `m_field_id` int(5) NOT NULL AUTO_INCREMENT, `m_slug` varchar(255) CHARACTER SET utf8 DEFAULT NULL, `m_name` text CHARACTER SET utf8, `m_value` text CHARACTER SET utf8, `m_type` int(1) DEFAULT NULL COMMENT '1=>Dropdown,2=>Radio,3=>Checkbox', `m_required` tinyint(1) DEFAULT '0', PRIMARY KEY (`m_field_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ; -- -- Dumping data for table `meta_fields` -- INSERT INTO `meta_fields` (`m_field_id`, `m_slug`, `m_name`, `m_value`, `m_type`, `m_required`) VALUES (1, 'brand', 'Brand', 'Audi,BMW,Honda,Jaguar', 1, 0), (2, 'Transmission', 'transmission', 'Manual,Automatic,Tiptronic', 2, 0), (3, 'fuel_type ', 'Fuel type', 'Diesel,Petrol,CNG,Other fuel type', 3, 1); -- -------------------------------------------------------- -- -- Table structure for table `survey_meta` -- CREATE TABLE IF NOT EXISTS `survey_meta` ( `i_meta_id` int(11) NOT NULL AUTO_INCREMENT, `survey_id` int(11) DEFAULT NULL, `m_field_id` int(5) DEFAULT NULL, `i_m_value` text CHARACTER SET utf8, PRIMARY KEY (`i_meta_id`), KEY `survey_id` (`survey_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; [/PHP] ඔය විදියට පුළුවන් වෙන්න ඕන මේ OsClass එකේ add කරන විදිය [IMG]https://blog.osclass.org/wp-content/uploads/2013/06/type-custom-field1.png[/IMG] [/QUOTE]
Insert quotes…
Verification
Hata thunen beduwama keeyada? (60 bedeema thuna)
Post reply
Top
Bottom