Results 1 to 3 of 3
Thread: phpmyadmin
-
08-27-2002, 05:08 PM #1Web Hosting Master
- Join Date
- Mar 2002
- Location
- St. Louis, MO
- Posts
- 1,379
phpmyadmin
i was working on something and I noticed this in phpmyadmin
Notice: Undefined variable: sub_part in C:\Inetpub\wwwroot\phpMyAdmin\tbl_properties_links.php on line 40
Structure Browse SQL Select Insert Export Operations Options Empty Drop
Showing rows 0 - 1 (2 total)
Notice: Uninitialized string offset: 27 in C:\Inetpub\wwwroot\phpMyAdmin\libraries\sqlparser.lib.php on line 186
SQL-query : [Edit] [Explain SQL Code] [Create PHP Code]
SELECT *
FROM `phpbb_users` LIMIT 0, 30
after i updated a table.... umm Whats all this mean? Something wrong with how i installed it, or my SQL messed up?
-
08-29-2002, 10:22 PM #2Web Hosting Master
- Join Date
- Mar 2002
- Location
- St. Louis, MO
- Posts
- 1,379
ok since no one has responded maybe this will help.
Im running two servers on the same machine now. I installed apache, sql and php on different ports just to see whats up.
This error I get is using IIS 5, PHP4 and mySQL 3xxx something. When I installed apache, I get no errors, so it has to be one of a few things... SQL on PHP is configured wrong but I dunnoe which or what... Ideas?
-
08-30-2002, 10:13 PM #3Newbie
- Join Date
- Dec 2001
- Posts
- 6
about the line 40 error, it means you're trying to do something with a number that doesn't exist. Like this:
PHP Code:<?php
$num += 1; // this adds 1 to $num
?>
Make sure you have something like this:
PHP Code:<?php
$num = 0; // this initializes $num with a value of 0
$num += 1; /* now you have something to add too (0) you have no error */
?>
- Davey