+ 2

Can I wirte PHP code in the my SQL?

Hello. As the question mentioned, is it possible to use <?php ?> in the mysql table to import data. Because I don't want to create too many pages. I have been learning php for 3 days, so many things are still confused to me.

18th May 2017, 6:32 PM
Tung Pham
Tung Pham - avatar
12 Respostas
+ 2
ya yaroslav
18th May 2017, 7:01 PM
Vishnu ks
Vishnu ks - avatar
+ 1
Ya obviously Bro! !!!
18th May 2017, 6:44 PM
Vishnu ks
Vishnu ks - avatar
+ 1
you don't want to create many pages, but you want to create too many table rows?
18th May 2017, 6:48 PM
Yaroslav Pieskov
Yaroslav Pieskov - avatar
+ 1
Ya information modifications in multiple pages is difficult
18th May 2017, 6:49 PM
Vishnu ks
Vishnu ks - avatar
+ 1
actually I tried it. but it seemed not to work
18th May 2017, 6:58 PM
Tung Pham
Tung Pham - avatar
+ 1
I think you can generate php file from data in db and then run it
18th May 2017, 7:00 PM
Yaroslav Pieskov
Yaroslav Pieskov - avatar
0
What I meant was I want to use php syntax in phpMyAdmin. and still haven't figured it out how I can do like you said with only one index.php file
18th May 2017, 7:04 PM
Tung Pham
Tung Pham - avatar
0
where in phpMyAdmin you want to use php syntax? and how do you want to save your php code?
18th May 2017, 7:08 PM
Yaroslav Pieskov
Yaroslav Pieskov - avatar
0
in the content of the table. I created a pages table. And I want to add content to each part dynamically. So that I couldn't put in the index file, otherwise every single page would be the same.
18th May 2017, 7:15 PM
Tung Pham
Tung Pham - avatar
0
html code works but php doesn't.
18th May 2017, 7:20 PM
Tung Pham
Tung Pham - avatar
0
I need to see your code at first
18th May 2017, 7:38 PM
Yaroslav Pieskov
Yaroslav Pieskov - avatar
0
yes ufcose
25th Jun 2017, 12:19 PM
Anshul Nunach
Anshul Nunach - avatar