Trying to use MVC |
[eluser]John_Betong[/eluser]
[quote author="d4v0" date="1226143716"]hey man!... do u have an e-mail... because... it doesn't work... i need an example where a controller get data from a model... and then show it in a view. But this data is a query with more than one column... you got it?? I've been searching examples... but... i can't find what i want...! =([/quote] Here you go I have just uploaded a new page to my website showing the last 42 jokes: My Model Library Code: //============================================= My Controller Code: //============================================= My View Code: <html> See it in action here: http://johns-jokes.com/joke/last_42 |
Messages In This Thread |
Trying to use MVC - by El Forum - 11-07-2008, 09:47 PM
Trying to use MVC - by El Forum - 11-07-2008, 10:48 PM
Trying to use MVC - by El Forum - 11-07-2008, 11:28 PM
Trying to use MVC - by El Forum - 11-08-2008, 02:07 AM
Trying to use MVC - by El Forum - 11-08-2008, 06:49 PM
Trying to use MVC - by El Forum - 11-08-2008, 08:37 PM
Trying to use MVC - by El Forum - 12-10-2008, 08:19 AM
Trying to use MVC - by El Forum - 12-11-2008, 04:16 AM
|