I think that if you read those two pages of the code documentation (the DBAL class and the DBAL_Mysqli class ), and if you look more closely at the code itself, you'll understand better the DBAL system :)
For example, your code must be :
$sql = 'SELECT topic_title, forum_id, topic_id, topic_first ...
Search found 171 matches
- Tue Oct 23, 2007 6:46 pm
- Forum: [3.0/Olympus] Discussion
- Topic: mysql inheritance
- Replies: 4
- Views: 9466
- Tue Jun 26, 2007 7:30 pm
- Forum: [3.0/Olympus] New features discussion
- Topic: New "f" tag for viewtopic?
- Replies: 19
- Views: 31289
Re: New "f" tag for viewtopic?
Dog Cow wrote:The topics will work without the f argument, though.
- Mon Jun 11, 2007 6:39 pm
- Forum: [3.0/Olympus] Styling
- Topic: template_bitfield
- Replies: 9
- Views: 25077
Re: template_bitfield
It's only a code used by the BBCode parser :)
All tags defined within bbcodes.html are not parsed using this definition. Indeed, some simple tags (eg B, I, U...) can be parsed directly by the parser which has a default HTML replacement for them. The bbcode_bitfield stores (in binary) which of the ...
All tags defined within bbcodes.html are not parsed using this definition. Indeed, some simple tags (eg B, I, U...) can be parsed directly by the parser which has a default HTML replacement for them. The bbcode_bitfield stores (in binary) which of the ...
- Sun Jun 10, 2007 3:55 pm
- Forum: [3.0/Olympus] Styling
- Topic: template_bitfield
- Replies: 9
- Views: 25077
Re: template_bitfield
If you don't change the bbcodes.html template file, you should keep prosilver's value.
Otherwise, tell us what BBCodes you have changed and we'll give you the correct value
Otherwise, tell us what BBCodes you have changed and we'll give you the correct value
- Sun Jun 10, 2007 11:46 am
- Forum: [3.0/Olympus] Styling
- Topic: Question about ".log" in <!-- IF .log --> of file acp_logs.h
- Replies: 2
- Views: 6635
Re: Question about ".log" in <!-- IF .log --> of file acp_logs.h
Everything is explained in the Coding Guidelines page
(look after the explanation for BEGINELSE)
- Mon May 28, 2007 6:37 pm
- Forum: [3.0/Olympus] Discussion
- Topic: Private Message Popup (RC1)
- Replies: 2
- Views: 6655
Re: Private Message Popup (RC1)
You have to change the default value of phpbb_users.user_options from 895 to 1919 (895 + 2^10, 10 being the "id" for popuppm).
If you have MySQL, execute the following query with PhpMyAdmin for example (replace phpbb_ with your own prefix if necessary):
ALTER TABLE `phpbb_users` MODIFY `user ...
If you have MySQL, execute the following query with PhpMyAdmin for example (replace phpbb_ with your own prefix if necessary):
ALTER TABLE `phpbb_users` MODIFY `user ...
- Sun May 27, 2007 11:51 am
- Forum: [3.0/Olympus] New features discussion
- Topic: How to upgrade from MySQL to MySQLi database....
- Replies: 1
- Views: 9739
Re: How to upgrade from MySQL to MySQLi database....
It depends on what version of MySQL you had...
If it was 4.1.3 or greater, then you only need to add the "i" in the config.php file :) (by the way, mysqli works perfectly with those versions of MySQL)
If it was lower than 4.1.3, it's more difficult because the schema is different.
I think (note that ...
If it was 4.1.3 or greater, then you only need to add the "i" in the config.php file :) (by the way, mysqli works perfectly with those versions of MySQL)
If it was lower than 4.1.3, it's more difficult because the schema is different.
I think (note that ...
- Fri May 25, 2007 5:52 pm
- Forum: [3.0/Olympus] Discussion
- Topic: Doubt in DEBUG_EXTRA and mysqli
- Replies: 3
- Views: 8460
Re: Doubt in DEBUG_EXTRA and mysqli
What is the difference between the mysql and mysqli extensions for PHP?
The mysql extension does not support the full functionality of MySQL versions greater than 4.1.0, such as Stored Procedures, Triggers, Views, Precision Math and much more. In order to use all functions of the latest MySQL ...
- Wed May 23, 2007 2:23 pm
- Forum: [3.0/Olympus] Discussion
- Topic: Doubt in DEBUG_EXTRA and mysqli
- Replies: 3
- Views: 8460
Re: Doubt in DEBUG_EXTRA and mysqli
The memory usage is displayed only if the information is available. Your host has probably disabled the function memory_get_usage()
mysqli is less old than the "normal" mysql extension and supports more features (such prepared queries, an object oriented style besides the procedural one, etc.). But ...
mysqli is less old than the "normal" mysql extension and supports more features (such prepared queries, an object oriented style besides the procedural one, etc.). But ...
- Mon May 21, 2007 7:05 pm
- Forum: [3.0/Olympus] Discussion
- Topic: which database format?
- Replies: 2
- Views: 5429
Re: which database format?
utf8_bin is used by default (with Mysql >= 4.1). You generally don't need to worry about the collation since the installer creates the tables using the relevant one 