After submitting I want the redirect the users to a different page with the value of the input in the url. Now, when there is no value I want that it does nothing (return false). How can I do this? …
Tag: html
PHP/MYSQL: A removed row is still displayed in my page after a reload
I work on a simple webserver on a Raspberry Pi, displaying a MySQL table with two buttons : One (Switch) to inverse a boolean value, and one (Delete) to remove the entire row from the table. What I …
PHP executes but doesnt execute SQL update correctly
I have a table which displays -Staff ID (Primary Key) -Staff Name -Staff Position All the data loads in to my grid, the grid has an update button witch should let me to update it but it returns …
How can I make an ad visible only to mobile users?
I want to use some mobile ads but my website has responsive design so I don’t use the m. subdomain. How can I make an ad visible only to mobile users? What about only to desktop or tablet? I’m using wordpress as a CMS. Thanks, Answer It’s quite easy using CSS3 Media Queries. In your CSS: For…
How to create a link to another PHP page
I just converted some of my HTML pages to PHP pages, and I’m not that familiar with PHP. In my HTML pages, assuming it’s just a static web app, I can link to another page quite simply by playing the following anchor on the page: <a href=”go-to-this-page.html”>This is a link</a…
Information from ICEcast [closed]
Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 7 years ago. Improve this question I have a Dutch Radio Station called FinioxFM and I would like to get infor…
Booking-form dropdown menu (php)
I’m working on a hotel booking project (php) and I want to create a booking-form where I will have : Checking Date(datepicker) Checkout Date(datepicker) Room type (Here I want to have a dropdown menu, <select><option>Single</option></select>, and when a option is selected to show…
Hide html content based on radio selection
Hi I’m fairly new to php/html and Im having trouble with hiding the inputs based on my radio input selection. I want to be able to hide the rest of the inputs if “yes” is selected but nothing happens. Any help would be greatly appreciated. Thanks. Answer Make sure your function block is clos…
Downloading a file from a PHP server via a website [closed]
Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 7 years ago. Improve this question I have physical files which I want users to download on my website. The files are located at…
Can the order in which adding link and meta tags on head of a webpage have any adverse effect?
I have added this code to my webpage with .php extension Now, cssheadertop.php contains the following code The cssheaderbottom.php file has following code I want to add meta description and meta keywords tag between and just like the link tag I have added. Can it pose any problem in rendering or SEO? Answer A…