sql help needed badly
- 2bit
- New member
- Posts: 23
- Joined: 01 Aug 2008, 23:34
- [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
sql help needed badly
I have checked the coding guidlines and a few other sources wich confused me even more. In php it is rather strait forward to connect to the database,retrieve data,and close database connection, and there you have it! but with phpbb3 its toatly diffrent. i just need a basic example of how to query the database without all the added confusion of adding limits and so forth to the query. I hope you understood what all that! any help will be cool.
- EXreaction
- New member
- Posts: 11
- Joined: 19 Jul 2008, 16:33
- Real name: Nathan
- Contact:
Re: sql help needed badly
$db->sql_query($sql);
$sql is the query you want to run
$sql is the query you want to run
My phpBB3 Mods:
| | | |
| | | |
- igorw
- Past Contributor
- Posts: 1967
- Joined: 01 Jun 2006, 20:48
- Real name: Igor [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: sql help needed badly
- we're poor!
Return to “phpBB Development discussion”
Who is online
Users browsing this forum: No registered users and 21 guests