Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

CodeIgniter 2 + Sparks + PHP ActiveRecord Part 1: Installation

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
1,580
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jul 28, 2011

In this screencast I cover the installation of CI2 and PHP ActiveRecord. We install PHP ActiveRecord using Sparks, create a users table, and then test ActiveRecord.

Be sure to choose HD.

Find more screencasts and articles on web development and design at http://heybigname.com

Category:

Education

Tags:

License:

Standard YouTube License

  • likes, 1 dislikes

Link to this comment:

Share to:
see all

All Comments (4)

Sign In or Sign Up now to post a comment!
  • @lordyrich Make sure that your db has a 'username' field.

  • dam mine doesnt work, the array at 0:81 comes up but the fields such as id, username dont appear. The array is empty. When I do the foreach loop I get

    "Fatal error: Uncaught exception 'ActiveRecord\UndefinedPropert­yException' with message 'Undefined property: Users->username in C:\..."

    Gone back but still cant work out what i missed.

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more