Part of the EllisLab Network
   
 
Ribskull says Gday
Posted: 23 October 2009 10:02 AM   [ Ignore ]  
Summer Student
Total Posts:  6
Joined  10-23-2009

Gday everyone,
I am a younge aspiring programmer interested in learning php on the side. I am learning C++ next year in University but I do want to learn good webdevelopment skills. Would codeigniter be a good way to learn php? The tutorial I just watched showed how easy it is to use php to use dynamic information with a webpage and id find it very easy to grab information from a database with controllers.

Anyways say gday, post a reply and hope I get to know some of you as i continue on my journey.

Ribskull!

Profile
 
 
Posted: 23 October 2009 10:24 AM   [ Ignore ]   [ # 1 ]  
Grad Student
Avatar
Rank
Total Posts:  48
Joined  08-01-2008

Hi Ribskull.  I’d learn at least the very basics of PHP before you try CodeIgniter, but you don’t have to be a PHP expert to start using CI.  If you already know another programming language that shouldn’t be too hard.  You should at least know how variables, arrays and functions work.

 Signature 

itscheese.com - wow, a site about cheese built with CodeIgniter!

Profile
 
 
Posted: 23 October 2009 11:17 AM   [ Ignore ]   [ # 2 ]  
Summer Student
Total Posts:  6
Joined  10-23-2009

I have basic knowledge of PHP, and ive created a very basic content management system with JSP. But i want to learn php as it is easier to use with hosting, im following the tutorials on the website, its very basic for first one and easy to understand. I’m sure it would be easy to learn with.

Profile
 
 
Posted: 23 October 2009 11:41 AM   [ Ignore ]   [ # 3 ]  
Grad Student
Avatar
Rank
Total Posts:  48
Joined  08-01-2008

CI should be great for you then.  I’ve tried cakePHP but found that CI is easier to learn and less frustrating to debug.

 Signature 

itscheese.com - wow, a site about cheese built with CodeIgniter!

Profile
 
 
Posted: 23 October 2009 12:19 PM   [ Ignore ]   [ # 4 ]  
Summer Student
Total Posts:  6
Joined  10-23-2009

I’m already having a problem, I understand my version of php doesnt allow the shorter tags <?= ?> but it wont work even if i write <?php anchor(); ?>

————
yeah im just going through the tutorial first. See my knowledge isnt great.

Profile
 
 
Posted: 23 October 2009 12:51 PM   [ Ignore ]   [ # 5 ]  
Grad Student
Avatar
Rank
Total Posts:  48
Joined  08-01-2008

A couple things to try:
<?php echo anchor(); ?>

The function anchor() doesn’t print anything to the browser itself, so you have to use an echo command or something similar to output it.

The other thing to look at is to make sure that the url helper is loaded.  The anchor() function won’t work unless the url helper is loaded.  You can do this:

$this->load->helper(‘url’);

to load the helper.  You can also autoload it in the file system/application/config/autoload.php

Hope this helps.

 Signature 

itscheese.com - wow, a site about cheese built with CodeIgniter!

Profile
 
 
Posted: 23 October 2009 07:47 PM   [ Ignore ]   [ # 6 ]  
Summer Student
Total Posts:  6
Joined  10-23-2009

yuh fixed, it’s working better now!

Profile
 
 
   
 
 
‹‹ www.supportmymissionary.com      i am fonec ››
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 721, on January 06, 2010 09:38 AM
Total Registered Members: 115017 Total Logged-in Users: 56
Total Topics: 122449 Total Anonymous Users: 2
Total Replies: 647332 Total Guests: 555
Total Posts: 769781    
Members ( View Memberlist )