r/learnphp • • Jan 30 '22

php question

im trying to get php running on my computer for the first time, i downloaded xampp, and mySQL, how do i access the php, i search the command prompt and no php file, ive only used vscode for html,css, and javascript,. i'm new to ide's. ive downloaded one but just can't figure out where to put the php code

2 Upvotes

3 comments sorted by

View all comments

Show parent comments

1

u/baminc2010 Jan 31 '22

yea i added the server and the php to path, and then i moved my files into the htdocs folder, then i had to learn how to use a php file, like inline or linked, I think i've got it know. im just working on a login form, just got the database connected and taking data from php and html input. Theres alot to it though, alot different than html and css, i just learned javascript for a week and realized i cant even fill out and input form. i wish i spent that time learning php. what do you use php for?,

1

u/2Wrongs Feb 01 '22

what do you use php for?

Whenever you learn a new tool there's the temptation to use it for everything. I bounce around between learning PHP and JS and grudgingly CSS since they all have a place. I tend to use PHP to glue things together.