Jump to content

dianagaby2002

New Members
  • Posts

    8
  • Joined

  • Last visited

dianagaby2002's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I used the new mysqli syntax because with the mysql version I had errors on local BD and other BD. However, when I use mysqli, I have NO errors in local BD, but got errors in the other BD: Warning: mysqli_connect(): The server requested authentication method unknown to the client [mysql_old_password], Warning: mysqli_query() expects parameter 1 to be mysqli, boolean given, Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, null given. Yup, I have these errors when connected to the OTHER BD, though I use mysqli. If it has some importance, the local BD has no password(and user is ROOT), the other BD HAS password.
  2. Which XAMPP version has a PHP that accepts this syntax: mysql_connect();
  3. #1133 - Can't find any matching row in the user table And I don't have my.cnf file
  4. Good question...I even reinstalled it and still...But my code is ok because it's the same I used 1 week ago...hmm
  5. Warning: mysql_connect(): The server requested authentication method unknown to the client [mysql_old_password] in mysql_connect($db_host, $db_user, $db_pass) or die(mysql_error()); It worked yesterday...
  6. I've installed XAMPP win32-1.7.0 and I choose other port for Apache than 80(in config files) because 80 is used by other application. Still, when I open in the Browser the index page(the test page) of XAMPP or my page, I see a white page, not even errors.
  7. Yes...My colleague made the site and he wrote the menu in each page
  8. I want to use a switch.....case like for example: <a href="?link=1">Page 1</a> <a href="?link=2">Page 2</a> <a href="?link=3">Page 3</a> <?php $link = $_GET['link']; switch($link){ case 1: $page = "page1.php"; break; case 2: $page = "page2.php"; break; case 3: $page = "page3/page3.php"; break; } @include "$page"; ?> will it be hard to process about 800 pages with switch...case? thank you in advance;)
×
×
  • 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.