I’m trying to replace these tags [mtgcard] cardname [/mtgcard] in a string, but while replacing I want also the cardname to be the part of an hyperlink (example below) Here is the function (found on …
Tag: php
Table query, select data from table1, but only if user settings in table2 is set to a specific value
I got a problem with this query. Not sure what this type of problem is called, so have problems searching for a solution 🙁 I got two tables: configurations, users Lets say the tables looks like …
413 Request Entity Too Large nginx server in laravel homestead for windows
I am developing a site that needs a file upload. I am using Laravel homestead on windows OS. so when I try to upload i get the error 413 Request Entity Too Large. The server is Nginx/1.15.8 . How do I solve this?..most of the solution I have seen does not explain how to get the directory for the nginx
Using a toggle with jQuery and PHP in a while loop dont work correctly
Got some problems with the jQuery toggler, im using a while loop in PHP and I’m showing database parameters in the page. The problem is that im using a “Details” parameter wich is the largest one, and …
Why is this addition function sometimes not working in PHP?
I’m currently writing a class to manage time in a specific format. The output is always in this format: 0000:00:0:00:00 which stands for YYYY:WW:D:HH:MM. I have a function to add time and it seemed to …
chose another column if the first column is null
how to chose another column if the first one is null i have users table who have email phone and other data i have registration form built with php what i want is check if user insert an email or …
How to create comma separated list from a while-loop?
Personas with status 0 Result is: Personas with status 0: HermannSusiMara is expected: Personas with status 0: Hermann, Susi, Mara Answer A bit different solution for you.
Insert PHP into code web design without a large block of code. Solved [closed]
I am fairly new to PHP/SQL I have been lightly playing with it for a year or so and I decided to start getting into it more. First question I guess would be, is inserting into web design. Is there …
How do I get a table to print only certain information from a file?
I’m going to apologize in advance. This is probably a very stupid question, but I can’t figure it out. What I’m trying to do is to use a radio button selection to look through a file and print out the …
base64 image not displaying in html ![]()
I am trying to display my base64 image that I converted in my php file. However the image in my html appears as the generic image placeholder for when an image is not available or existent. In case …