Skip to content

Tag: php

html form not using POST – acting funny [closed]

Closed. This question needs debugging details. It is not currently accepting answers. Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question. Closed last year. Improve this question I made …

multi buttons on one javascript function

foreach fetch songs from database each audio have button to pause and play all buttons of all songs works with first song only… when i press button of second or third song the first run … any solution ? blade.php js.file Answer With var player=document.getElementById(“player”); you sel…

PHP FPDF changing font size in specific are only

I have set font size for over all pdf to 10, Question is if I want to change the font size for the specific area of pdf without changing the font size over all, can it be done? See below code, I want to change the font size in these area $pdf->SetXY(17, 80) ; Answer Just do it like this:

Laravel Auth:api will not persisting

I’m realizing platform web and app that work with Laravel 6 in back-end. I set auth web for platform web and auth api (with Laravel JWT) for the app. When I signin with app, Auth doesn’t persist and with subsequent calls I can’t to refresh the token nor to get user info. The code is below: r…

PHP Unicode to character conversion

I receive country names like from a library: “u00c3u0096sterreich”. How do I convert this to Österreich? Using PHP 7.3 Answer This one is a lot trickier than it seem, but the below code appears to work. First we pipe it through the standard regex for Unicode escape sequences, then pack that as a b…