An1234
(Avika)
June 23, 2015, 10:00am
1
Hi,
I am trying to upload files mySQL database, not just the link, through Yii and have not been able to find any resources that can help me do this. I would like to upload these files into a specific table in the database and update their fields such as id, type, name, etc. Is this possible? I am relatively new to Yii and PHP.
Thanks for your help.
webin2015
(Webin2015)
June 24, 2015, 8:54am
2
Hi,
I am trying to upload files mySQL database, not just the link, through Yii and have not been able to find any resources that can help me do this. I would like to upload these files into a specific table in the database and update their fields such as id, type, name, etc. Is this possible? I am relatively new to Yii and PHP.
Thanks for your help.
Kindly elaborate your doubts. im not understanding your requirement.
itma
(Andrzej Bernat)
June 24, 2015, 9:02am
3
Hi,
I am trying to upload files mySQL database, not just the link, through Yii and have not been able to find any resources that can help me do this. I would like to upload these files into a specific table in the database and update their fields such as id, type, name, etc. Is this possible? I am relatively new to Yii and PHP.
Thanks for your help.
Hi,
just use blob type field in your structure of table, then put into it a binary data.
Regards,
Andrzej