Monday, March 3, 2014

Questions about problems import file .xlsx to database

I am having a problem and look forward to receive the support from everyone.
I follow the a some steps like address : http://bakery.cakephp.org/articles/melgior/2010/01/26/simple-excel-spreadsheet-helper    . But I still have not finished
I am a file "participants.xlsx" and I want to update of its content on database
I do not know where it is stored - The file participants.xlsx are stored in the path ???
Step1 and Step2 has stabilized
Step3 I've created file : 
------------------------------------------------------------------------------------------------------------------------------------------------------------
Participant.php (I'm not sure it's true )  and content :
<?php 
    $excel
->generate($event['Participant'], 'Participants list '.$event['Event']['name']); 
?>
-----------------------------------------------------------------------------------------
I've created the file EventsController.php same as instructions
Where I was wrong. I do not know how to make it run successfully.
Please be guided every step. I started to learn about cakephp .
Thank all !



--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: