My Code: My test output (a small excerpt): The corresponding variable is integer and 60. | dump($zeilen[$i][‘satzart’]) And I have no idea why the function satz60() is not executed. (This can be seen in the test output, that no further values are output.) It is not relevant because I did a test ou…
Tag: php
How can I encode/decode to base64?
I want to encode/decode my Image with base64: But it is not correctly decoded Answer You don’t have to use imagecreatefromstring in your code. You can encode/decode with php base64 functions.
Is there any method to pass live data from one Browser tab another Browser tab by using Javascript
I created an increment and decrement program but in that, I want to pass data from 1st Browser to 2nd Browser(one tab to another tab). In Index.html there are two buttons for incrementing and …
How to cache BLOB type in Laravel
Hi everyone, Is there a way to cache BLOB types temporarily in Laravel ? Scenario: I’m gonna cache some data MEDIUMBLOB with the size of 2048KB temporarily. These data are actually parts of a large single file 16MB. After caching all parts, they will be combined together into a single file, then will be…
PHP populate array inside a function
i have a small problem with my php code. i’ve created a class for Clients, to return me a list with all clients. The problem is when i call the function from outsite, it dont show me the clietsList. and the result is like that, but without clietslist Where im doing wrong? Thanks for your answer. i want …
how to increment the values of keys in associative array as string
I have a condition to increment the array keys in such a way that each array key is to get increment. Only this part should get updated with the incremented number “LV001_LV002” to “LV099_LV100”.(But not only up to 100 it get increment above 100 also). i have developed the below struct…
PHP Laravel : $request->hasFile() is not working
I have a form where i get the title,content … and an image. When i dd($requests->all());, It returns the following which is correct. Here is my code for image processing: But the img DB table field gets null. The if($request->hasFile(‘imagePost’)) is not getting the field. What have i …
how to get data from another form
I have three forms which are homeUser.php, application.php, and payment.php. in homeUser.php I have this information with form details. So in form application.php, I can retrieve the id by using the code However, I want to use the numApplicant and location in the third form also. how should I call it in the t…
CSS Styling in PHP echo
I am very new to using PHP and I am unsure how to style this table. I created a class but I am not sure if I make the changes in a separate CSS file because this did not work for me. Do I use style tags? How can I do this? Answer Just make sure the css file is
How to write file to desktop in laravel?
I am trying to write a backup for my database, I want If a button is clicked the application will export the database to the desktop. The app exports the file on my database directory if I use laravel database directory path but if I change the path to desktop location nothing appears on the desktop. It will …