Print $name value in php
I am trying to print out the value of $name yet it keeps printing out $name instead of the value here is the line: header('Content-Disposition: attachment; filename="$name"'); ...
I am trying to print out the value of $name yet it keeps printing out $name instead of the value here is the line: header('Content-Disposition: attachment; filename="$name"'); ...
I have a dl that I've coded like so: <dl> <dt>term 1</dt> <dd>definition 1</dd> <dt>term 2</dt> <dd>definition 2</dd> <dt>term 3</dt> <dd>definition 3</dd> </dl> I'm finding it hard to apply the right css for the layout that i want ie. each term and definition in a column. structuring the html in the following way wo...
I am building my own humble (x)html parser. All is ok, but some doctype tags break it. Let me show you: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" [ <!ENTITY D "—"> <!ENTITY o "‘"> <!ENTITY c "’"> <!ENTITY O "“"> <!ENTITY C "”...
Hi, Does anyone own or knows where can i find a xml file containing all the HTML tags and attributes? Thanks. ...
Hello. I want to use JavaScript to make a simple http get. I used jQuery to perform my request. My code runs on IE8.0 but not in Chrome (ver 6.0). My page has the following code: (to simplify, i made a simple request to a html page, but my needs is other) <!DOCTYPE html PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html> <script ty...
hello! i wrote some html with utf-8 charset. in the head of the html there is also a <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> everything works fine in local, but when i upload files to the server, i see all my letters àèìòù etc distorted. anybody know how could it be the problem? is possible that the ...
As it's valid markup, I have done the following; <div class="list"> <a href="#">Link 1</a> <a href="#">Link 2</a> </div> My question is, does it have to be written as this; <ul class="list"> <li><a href=...
Hello there, I am trying to make my PHP script create a file and add headers into that file but the file must be PHP only and nothing before the PHP tags. But the script is for some reason adding an extra blank line in the beginning before the <?php and it does not work. I know this because when I manually edited it and removed the line...
I have a simple ASP.NET page that uses the VLC media player to play a video in IE. I also have four buttons to control the playback: Play, Pause, Stop, and Mute The four buttons call JavaScript functions that access the ActiveX control. When I click on any of the buttons, I get the following error in the JavaScript function: "...
I am trying to change the content inside a DIV from separate links when mouseover. The content is different with each link. I wanted the default content in the DIV to appear with mouseleave. I'm having trouble to figure this out with jquery. Can anyone point me in the right direction or have an example to help. I figured out how to...
I've been trying to exclude an asp.net web control from the tabbing order. The control that i'm using is the RadioButtonList control. I've try setting the TabIndex to either 0 or -1. The problem that i'm running into is ... initially the control is skipped (which is good), but it seemed like the engine just shifted the control to the end...
I'm developing a simple CSS-only dropdown menu but I'm having an issue in which the submenu disappears when the mouse enters a 3-4px tall section just inside the first item on the submenu (the :hover background of the first submenu item changes so the mouse is hovering over the first submenu item prior to it disappearing). If you move t...
Hey folks, I have a table I'm working with that is like such: <table width="100%" border="0" cellspacing="0" cellpadding="0" id="tablecontent"> <tr class="tablerow"> <td>This is the td I want to add a class to.</td> <td class="cell2">Stuff</td> <td class="cell3">Stuff</td> </tr> <tr class="tablerow"> <td>This is th...
I have a fairly new website which allows people to create their own profiles and such. The issue is that when someone links to their profile from their website/blog, their profile shows up in google searches for my website - and to date the one person who has done this has a NSFW profile. Which means, when you search for my site on Googl...
Hi, i have an HTML table 2x2. In that table, I want the first row is not divided in two parts but only has one cell that occupies the full width of the table. ------- | | ------- | | | ------- How can i do that? Regards Javi ...
I have a classifieds website, and I am thinking about redesigning the database a bit. Currently I have 7 tables in the db. One table for each "MAIN CATEGORY". For example, I have a "VEHICLES" table which holds all information about the following categories of classifieds: cars mc mopeds/scooters trucks boats etc etc ...
I use Smarty as a template system in a script of mine. There is a page with drop-down-boxes (to select a music genre) and the form is reloaded with an on-change event. The value of the drop-down-boxes are transfered via GET. The drop-down-boxes should have the value selected before. The PHP-Code concerning the GET code is $get_ge...
Hi I am trying to use < base> TAG to indicate the source folder containing the media files for my html pages located in separate folder. I have the following folder structure: A |- HTML_PAGES (contains html files) |- MEDIA_FOLDER (contains the media used by this html pages) I try to indicate the html files with the medi...
I want to create some html help pages, separate html pages. However, I want to have the same content on the top and bottom of the pages. In the past I've used PHP or ASP, with header and footer files. I've then had to do view source and save these pages to get what I want. I just wondered if there an easiest way to do this ? EDIT: Th...
Guys, Here is my website : http://searchr.us/web-search.phtml So now,once anyone searches in that page it comes like this : http://searchr.us/web-search.phtml?search=SEARCHED+TEXT So now what i want to do is that when a person searches anything for that matter.A page with its title called http://searchr.us/web-search.phtml?search=S...