[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    enterprise.kde.org/bizcase
From:       Jason Bainbridge <JaseOne () myrealbox ! com>
Date:       2003-03-12 12:27:56
[Download RAW message or body]

CVS commit by jaseone: 

Hopefully this fixes the problem with the bizcases not showing, I haven't got the db \
so I can't verify the fix but it looks like register_globals is off on the server so \
to access get variables you need $_GET['variable'] and not just $variable


  M +1 -1      showbizcase.phtml   1.4


--- enterprise.kde.org/bizcase/showbizcase.phtml  #1.3:1.4
@@ -9,5 +9,5 @@
    $db = mysql_connect($PREdblocation, $PREdbname, $PREdbpass);
    mysql_select_db($PREdbname, $db);
-
+   $id = $_GET['id'];
    $bizsql = "SELECT * FROM bizname WHERE id='$id'";
    $bizres = mysql_query($bizsql);


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic