Home
Forums
Members
Search
Help
New topics
Todays topics
Website
Welcome Guest, Not a member yet?
Register
Sign In
Login
Username:
Password:
Remember me
Lost Password?
CodeIgniter Forums
Archived Discussions
Archived Development & Programming
Best way to do this...
Pages (2):
« Previous
1
2
Share on Google
Share on Facebook
Share on Twitter
View a Printable Version
Subscribe to this thread
Add Poll to this thread
Send thread to a friend
Linear Mode
Threaded Mode
Best way to do this...
El Forum
Guest
#11
11-17-2007, 01:57 PM
[eluser]xwero[/eluser]
This means there is something in the sql statement that wasn't found in the table. Is there an entry with the id 2?
El Forum
Guest
#12
11-17-2007, 02:04 PM
[eluser]Chris.Campbell[/eluser]
I fixed the problem. count_comments was set to "null", I switched it to "not null" and it now works
Thanks for the help on that part!
El Forum
Guest
#13
11-17-2007, 02:09 PM
[eluser]Chris.Campbell[/eluser]
How do you grab something from the database, and display it without having to loop through the results?
El Forum
Guest
#14
11-17-2007, 02:11 PM
[eluser]gtech[/eluser]
print_r($databasequery->result_array());
if you want a quick debug
El Forum
Guest
#15
11-17-2007, 02:14 PM
[eluser]Chris.Campbell[/eluser]
Thanks everyone got it all working
Ill be back though
Haha
El Forum
Guest
#16
11-17-2007, 03:43 PM
[eluser]Derek Allard[/eluser]
Glad you got it Chris. I look forward to you sharing your experience on these forums with other users who need help.
Pages (2):
« Previous
1
2
--------------------
Private Messages
User Control Panel
Who's Online
Search
Forum Home
General
-- News & Discussion
-- Events
-- Lounge
-- Regional User Groups
Using CodeIgniter
-- Installation & Setup
-- Model-View-Controller
-- Libraries & Helpers
-- Best Practices
-- Choosing CodeIgniter
-- General Help
CodeIgniter 4
-- CodeIgniter 4 Roadmap
-- CodeIgniter 4 Development
-- CodeIgniter 4 Feature Requests
-- CodeIgniter 4 Support
-- CodeIgniter 4 Discussion
-- CodeIgniter 4 Addins
Development
-- CodeIgniter 3.x
-- CodeIgniter 2.x
-- Issues
-- NetBeans Plugin
External Resources
-- Spotlight
-- Learn More
-- Jobs
-- Addins
Archived Discussions
-- Archived Libraries & Helpers
-- Archived Development & Programming
Theme © iAndrew 2016 -
Forum software by © MyBB