Jump to content

Xurion

Members
  • Posts

    259
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Xurion's Achievements

Member

Member (2/5)

0

Reputation

  1. Hi all. I know this isn't a problem but I'm curious how I would remedy this warning I am recieving when I validate my xhtml in w3's html validator. The warning concerns the charset for "Direct Input" elements (basically text fields) on the page. This is the warning I get: I'm looking for a way to get around this warning. I'm quite thorough when it comes to validation, and this is the only thing left. Does anyone know how to prevent this warning? Thanks in advance Xur~
  2. Well in Flash you can load a sound using the Movieclip.loadSound() function. You'd place the Flash on your page just like you would any other Flash object.
  3. Try this <?php if(isset($_POST['mysubmit'])){ switch($_POST['type_account']) { case "pr_specialist": $type = "PRSpecialist"; break; case "contractors": $type = "Contractor"; break; case "students": $type = "Student"; break; case "admin": $type = "admin"; break; } $query = "SELECT * FROM users WHERE pending = 0 AND type = '$type'"; $result = mysql_query($query) or die(mysql_error()); while ($line = mysql_fetch_assoc($result)) { print_r($line); } } ?>
  4. I prefer the foreach loop when dealing with arrays: foreach($_POST['description'] as $value){ echo $value.'<br>'; } This echos the value of each.
  5. I'd reinstall everything you're using. I've never seen mysql act that way.
  6. Put an echo to see how many rows you have in your result set. I'm gona guess you have none, and that's what's causing your error: echo mysql_num_rows($result);
  7. Change your tables to myisam. Count works faster on these.
  8. What type of engine is the table on? Myisam? Innodb?
  9. It is still not working after you did what the manual says to do?
  10. Manual says about the file_get_contents function: http://uk2.php.net/file_get_contents
  11. Because it's the correct way?
  12. Only if he navigates to the captcha.php file and errors are turned on.
  13. Do a phpinfo() just to check the GD is there.
  14. Try using 'DAYOFMONTH' instead of 'DAY'
  15. Meta tags are not PHP, they are HTML.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.