php 에서 mysql 접속 및 기본적인 쿼리와 결과 처리 하는 방법입니다.

php 에서 mysql 접속하는 방법입니다. 이렇게 기초적인 간단한걸 왜 포스팅 하냐고요? 요즘은 php 도 대부분 프레임워크를 사용하기 때문에 이렇게 직접 디비에 접속하고 쿼리문 작성하고 결과를 처리할 일이 없기 때문에 너무 안 써서 까먹으니까 기록으로 남겨 놓으려고 합니다. php 에서 mysql 접속하는 방법입니다. 배열이 아닌 일반 변수로 처리해도 상관 없습니다. $mysql[“host”] = “localhost”; // 서버아이피 또는 … Read more

This website stores cookies on your computer. These cookies are used to provide a more personalized experience and to track your whereabouts around our website in compliance with the European General Data Protection Regulation. If you decide to to opt-out of any future tracking, a cookie will be setup in your browser to remember this choice for one year.

Accept or Deny