1
ramoneariel
I've problem with User in my module
  • 2005/11/23 17:36

  • ramoneariel

  • Just popping in

  • Posts: 6

  • Since: 2005/11/23


Please, I've problem making my module, this's a problem:

I need to filter external database for USUARIO, when 'User login' content in USUARIO show NNE, INE y Cantidad, but I'cant to use the 'login name' to filter my database.

This's a code :

# virtual('/Connections/Test.php'); ?>
#

#$colname_Recordset1 = "-1";
#if (isset($_POTS['uid'])) {
#$colname_Recordset1 = (get_magic_quotes_gpc()) ? #$_POST['uid'] : addslashes($_POST['uid']);
#}

#mysql_select_db($database_Test, $Test);
#$query_Recordset1 = sprintf("SELECT NNE, INE, CANTIDAD FROM #arsnreg WHERE USUARIO LIKE '%%%s%%' ORDER BY INE ASC", #$colname_Recordset1);
#$Recordset1 = mysql_query($query_Recordset1, $Test) or #die(mysql_error());
#$row_Recordset1 = mysql_fetch_assoc($Recordset1);
#$totalRows_Recordset1 = mysql_num_rows($Recordset1);
#?>
#include("../../mainfile.php");

#?>
#include(XOOPS_ROOT_PATH."/header.php"); ?>














NNE
INE
CANTIDAD

*/
#include(XOOPS_ROOT_PATH."/footer.php");

#mysql_free_result($Recordset1);
#?>

This's my firts module.
Gracias
Ariel Ramone
Argentina

[Moved from - Module hack reviews] Bluenova

2
highlander
Re: Ive problem with User in my module
  • 2005/11/23 18:18

  • highlander

  • Not too shy to talk

  • Posts: 151

  • Since: 2004/12/5


Hi,

#if (isset($_POTS['uid'])) {


Isnt going to work. try changing to $_POST
So, I'm in the park wondering why frisbees get larger as they get closer when suddenly, it hits me...
http://www.AnimalPedigree.com

3
ramoneariel
Re: Ive problem with User in my module
  • 2005/11/23 18:31

  • ramoneariel

  • Just popping in

  • Posts: 6

  • Since: 2005/11/23


ok,
but not workQuote:

highlander wrote:
Hi,

#if (isset($_POTS['uid'])) {


Isnt going to work. try changing to $_POST

Login

Who's Online

189 user(s) are online (136 user(s) are browsing Support Forums)


Members: 0


Guests: 189


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Dec 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits