I’m trying to add extra HTML attributes to some select options in a dropdown list in Joomla 2.5, and want to use the built-in HTML helpers rather than write the HTML by myself. The current output is: …
Tag: html
How to remove line breaks (no characters!) from the string?
This might appear to be a dupe, but rest assured it isn’t – I have searched both SO as well as the rest of the web for an answer to my problem and ended up finding the same insufficient “solutions” over and over. Anyhow, here it goes: I’m saving user input from a textarea to a MySQL database (within a
special characters turn into question marks php html
I read all the topics found on stackoverflow and other forums, it’s hosted on hostgator and I’ve never had problems with their servers before although quotes for example are transformed into question …
Check if at least one checkbox is selected PER questio.n
Here we go again , searched and tried myself but none of the online examples are not the same as in my case. I have 2 radio based question and other 22 with checkboxes. My question is how to check if at least 1 checkbox/radio is selected on each question and display javascript alert in case they are not EG
Web scraping in PHP
I’m looking for a way to make a small preview of another page from a URL given by the user in PHP. I’d like to retrieve only the title of the page, an image (like the logo of the website) and a bit of text or a description if it’s available. Is there any simple way to do this without
Keep a check whether a value if selected from dropdown list using PHP
I need to keep a check on whether a value is selected by the user from the dropdown box other than the default value which is at null position. If selected (any value other than default ) then I want to set a variable say $varSet = 1 and if not $varSet = 0, so depending on the $varSet value,
Change Form Elements Depending On Selected Option
I have seen several sites where there is a form, starting with a dropdown box, and depending on the box chosen there is different form elements, for example, let’s say I wanted to make an uploader script, the dropdown box might hold: And is Upload is selected I would want a browse file element, while with Delete selcted maybe only
Import RSS feed from LinkedIn?
Is there any way of getting the RSS feed of a LinkedIn group (like this: http://www.linkedin.com/groups/Behance-Creatives-55523) to show on a webpage? I would like to display the most recent discussion on a page. Answer There is no RSS feed for LinkedIn groups, as they all require the viewer to be a LinkedIn member to join (at a minimum). You could
hiding the URL address in the address bar
I want to hide the url of the address bar but i have no idea how to do it, i have done some searching but found nothing. On my website i want people to just see www.roundaboutmk.com on every page, no matter what link/button they click on. for example, if they click on the “login” button it will take them
Multiple inputs with same name through POST in php
Is it possible to get multiple inputs of the same name to post and then access them from PHP? The idea is this: I have a form that allows the entry of an indefinite number of physical addresses along with other information. If I simply gave each of those fields the same name across several entries and submitted that data