Acessing PHP var in JS, can’t find what’s wrong
I’m trying to understand why I can’t access a PHP var in JS. According to all I know and read, it should work, but it doesn’t.
how to show picture ini print datable
i want to make my export in data table showing picture, when i press print button its always not showing picture
Words to numbers
I am trying to take the numbers on a PHP data page and convert them to their word form through JavasScript onclick. When I console.log the result of each if statement- its doing what I am asking it to do in the background.. But I cant get it to return as a unit or display on the page. Any suggestions?
Commenting out code with PHP & JS causing bug
This code seems to comment out the alert line out, any idea why?
If I remove “//test” then it seems to work though.
Not sure if it’s a PHP or JS Bug or it’s meant to uncomment the line below also?
employee attendance magement is not working
https://www.sourcecodester.com/php/14433/employee-attendance-record-system-using-php.html this is the code i copy and there is a error
Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ‘`’ at line 1 in C:xampphtdocsEARSadminemployee.php:44 Stack trace: #0 C:xampphtdocsEARSadminemployee.php(44): mysqli->query(‘SELECT * FROM e…’) #1 {main} thrown in C:xampphtdocsEARSadminemployee.php on line 44
Toast In PHP native not working on Success Side
I have this code in my PHP server side block that defines the TOAST functionality
Update player on PHP and JS
Ребята привет!) Я пишу код по заданию для сайта радиостанции, и у меня возникла проблема с плеером на странице. Проблема в том что я без понятия, как сделать так, чтобы обновлялись блоки “Сейчас” и “Далее”, в них выполняются запросы в базу данных. Нужно сделать так, чтобы они обновлялись по окончанию трека. Предоставляю код:
How can I retrieve checkbox values from a select element in a signup form and store them in a CSV file?
Question:
I’m building a signup form for my website, and I’ve encountered an issue with retrieving checkbox values from a select element. Here’s the structure of my form:
Failed to add exam: SyntaxError: Unexpected token ‘<', " “… is not valid JSON
Failed to Add Exam..
After filling out the add exam form and pressing the submit add exam button, the new exam data can be added to the database. I created the add exam file and successfully inserted the data into the database. However, the content of the data is 0 or empty and only displays the id.
Как принять данные из php в js?
У меня есть код который никак не получается починить, мой js файл никак не принимает ответ от php.