Type: Posts; User:
It is because, by default, the first option in a select box is selected.
Here's a way to do what you want:
echo "<form name='pageform' method='get' action=''>";
echo "<select name='page'...
Something like this should do the trick:
<form method="get" action="<?php echo $_SERVER['PHP_SELF']; ?>">
//replace 10 with number of pages...
I am trying to convert the contents of a UCS-2LE encoded file into UTF-8. When I use file_get_contents directly, I get a � replacement character before every other character. If I use...
Thanks, Ron I have got that code working on its own but the problem seems to be when I have two paragraphs (separated by <br /> tags in the same set of <p> tags) following this code. If I just have...
Ok thanks, I have taken out the spaces in window.open, but this hasn't solved the problem.
In internet explorer, when I view http://www.theramclub.co.uk/, the image for 'Carmina' is unclickable. It works fine in Netscape, and also if I take out the first paragraph of text for...
Thanks it works great!
On www.soireemusic.co.uk/listen , I have links to sound tracks with the following code:
Ok thanks I see. I'll change it soon.
Thanks, but what is x-browser resizing?
Thanks for all your replies. I got it to work using toicontien's code. Was there any reason you measured in em for padding instead of px?
I'm currently making the following webpage:
How do I make the box for the title adjust to fit the text (on one line if possible)?
Thanks for your replies. I found this: http://staff.dasdeck.de/valentin/midi/ so I'm going to try adapt it for my needs. Does anyone know how to write tunes and then make them midi using the text to...
Hi DiS4s7Er Pi3Ce,
You can do it like this. Make sure you have the text elsewhere on your site aswell so everyone can see it.
<title>Status bar scroll</title>
Thanks that makes the experiment one work but the other doesn't. This is the code outputted:
Use print "Hi, ".$_POST['name']."!. Your email address is ".$_POST['email'];
If you used the get method then you'd use $_GET['name']
Hope that helps,
I'm making an autoformatting thing where you type in plain text. At the moment it does titles and subtitles and it should do tables. indexold1 does tables but not when they're at the end....
Thanks I've got it to work :D
Using preg_replace how do I match two or more consecutive spaces?
Here's a div with a close link:
<div id='isFloat1' style='position:absolute;top:50px;left:15%;Height:28px;Padding-Left:10px;...
I'm new to java and I have two different content panes. contentArea is a grid of 3 rows and one column. When I click the button in pane 3 I want contentArea2 to show instead, which contains...