Search results

  1. I

    Using AJAX, how do I send a '&' symbol (&) using the POST method?

    I've tried: ... xmlhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded"); ... xmlhttp.send("name1=info& name2=info2&moreinfo"); ... (lines are split so they will fit in YA) The problem is it just sends 'name2' with the value 'info' because it thinks the '&' is to start a...
  2. I

    Can't connect to MySQL using PHP, help please!!?

    I tried the following, but it doesn't work and doesn't come up with any errors or anything. <html> <head> </head> <body> <?php $con = mysql_connect("127.0.0.1","root","password"); echo "Some Text"; ?> </body> </html> If I run this it just bring up a blank page and when I view page source it...
  3. I

    In html how do I make the background of a div semi-transparent, keeping the...

    ...content of the div solid? I've tried: <div background-color:#ffffff style="opacity:0.6; filter:alpha(opacity=60);"> <p style="opacity:1; filter:alpha(opacity=100);"> TEXT <p> <div> This makes the whole thing, including the text, semi-transparent. There is an image behind the div...
Back
Top