Loading views...

검수툴 blur search 구현

Date
Date
2020 Jan 16 0:0
Created by
Created by
Seonglae ChoSeonglae Cho
Created time
Created time
2023 Feb 28 12:39
Last edited by
Last edited by
Seonglae ChoSeonglae Cho
Last edited time
Last edited time
2023 Feb 28 16:18
Refs
Refs
우선 코드가 개떡같기 때문에 파일을 나눴음에도 코드 삭제 으마으마
notion image
둘다 200줄 내로 만들었다
notion image
 
 
 
notion image
여기서 버튼에 input text 데이터 가져오도록 이벤트 걸어주고
 
notion image
바로 이녀석!
 
  • js 안에 php 사용
How to use javascript variables in PHP
Possible Duplicate: How can I use a JavaScript variable as a PHP variable? I need to use javascipt variables in PHP, how can I do that? eg: <script> var abc = 'this is text'; </scr...
How to use javascript variables in PHP
 
  • php 안에 js 사용
Get variable from PHP to JavaScript
I want to use a PHP variable in JavaScript. How is it possible?
Get variable from PHP to JavaScript
위 두개를 혼종해서
 
 
<script language="javascript"> pvrID = input; // 1201101020449 SourcePath = "<?php Print(getPvrData("<script>document.write(abc)</script>")['sourcepath']); ?>"; Seq = "<?php Print(getPvrData()['seq']); ?>"; blurData = "<?php Print(getBlurData()); ?>"; console.log(blurData) </script>
이런 혼종을 만들었다..
 
 
getblurdata, getpvrdata를 하는데, 함수호출은 하지만 결국 sql문을 php에서 짜줘야함!~
  • 아래를 보고
PHP MySQL Select Data
The SELECT statement is used to select data from one or more tables: or we can use the * character to select ALL columns from a table: To learn more about SQL, please visit our SQL tutorial.
PHP MySQL Select Data
 
 
 
 

Recommendations