개발! 딱 깔끔하고 센스있게!

어떻게 php 함수를 호출합니까? 본문

개발 스크랩 메모/PHP

어떻게 php 함수를 호출합니까?

렉사이 2020. 12. 29. 02:42

어떻게 이 함수를 목록을 표시할 html 페이지에 호출합니까?

uid == 0 ) { $form = drupal_get_form('horizontal_login_block'); return render($form); } else { // you can also integrate other module such as private message to show unread / read messages here return '

' . t('Welcome back ') . ucwords($user->name) . '

'; } } ?>

대답

HTML 페이지의 표 표시 중

php

/ 어떤 버튼에 있는 함수를 호출하려면 누르십시오

if(isset($_POST['submit'])) { login_bar(); } ?> 
Comments