Ir para conteúdo

POWERED BY:

Arquivado

Este tópico foi arquivado e está fechado para novas respostas.

Fadweb

[Resolvido] Dificuldade em fazer um boletim escolar

Recommended Posts

Por favor preciso urgente terminar um Boletim escolar que estou fazendo Não sou programador em asp nem tenho conhecimento avançado de Dreamweaver

 

Consegui fazer a área onde inclui altera e exclui os dados dos aluno

 

 

Mas estou com problemas de fazer a área onde o aluno entra com o login e redireciona para outra pagina que mostra os dados somente dele

 

Porem consigo mostrar através de um consulta todos os registros mas quero que quando o aluno acesso o login ele veja só os dados dele

 

Agradeço se alguém poder me ajudar

 

 

Abaixo segue

os códigos 

Pagina de login 


<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<!--#include file="Connections/ConexaoSkill.asp" -->
<%
Dim ConslutaP1
Dim ConslutaP1_numRows

Set ConslutaP1 = Server.CreateObject("ADODB.Recordset")
ConslutaP1.ActiveConnection = MM_ConexaoSkill_STRING
ConslutaP1.Source = "SELECT * FROM Boletinp1 ORDER BY Nome ASC"
ConslutaP1.CursorType = 0
ConslutaP1.CursorLocation = 2
ConslutaP1.LockType = 1
ConslutaP1.Open()

ConslutaP1_numRows = 0
%>
<%
Dim ConslutaP2
Dim ConslutaP2_numRows

Set ConslutaP2 = Server.CreateObject("ADODB.Recordset")
ConslutaP2.ActiveConnection = MM_ConexaoSkill_STRING
ConslutaP2.Source = "SELECT * FROM Boletinp2 ORDER BY Nome ASC"
ConslutaP2.CursorType = 0
ConslutaP2.CursorLocation = 2
ConslutaP2.LockType = 1
ConslutaP2.Open()

ConslutaP2_numRows = 0
%>
<%
Dim ConslutaP3
Dim ConslutaP3_numRows

Set ConslutaP3 = Server.CreateObject("ADODB.Recordset")
ConslutaP3.ActiveConnection = MM_ConexaoSkill_STRING
ConslutaP3.Source = "SELECT * FROM Boletinp3 ORDER BY Nome ASC"
ConslutaP3.CursorType = 0
ConslutaP3.CursorLocation = 2
ConslutaP3.LockType = 1
ConslutaP3.Open()

ConslutaP3_numRows = 0
%>
<%
Dim ConslutaP4
Dim ConslutaP4_numRows

Set ConslutaP4 = Server.CreateObject("ADODB.Recordset")
ConslutaP4.ActiveConnection = MM_ConexaoSkill_STRING
ConslutaP4.Source = "SELECT * FROM Boletinp4 ORDER BY Nome ASC"
ConslutaP4.CursorType = 0
ConslutaP4.CursorLocation = 2
ConslutaP4.LockType = 1
ConslutaP4.Open()

ConslutaP4_numRows = 0
%>
<%
' *** Validate request to log in to this site.
MM_LoginAction = Request.ServerVariables("URL")
If Request.QueryString<>"" Then MM_LoginAction = MM_LoginAction + "?" + Server.HTMLEncode(Request.QueryString)
MM_valUsername=CStr(Request.Form("login"))
If MM_valUsername <> "" Then
  MM_fldUserAuthorization=""
  MM_redirectLoginSuccess="aluno_boletinP1.asp?"
  MM_redirectLoginFailed="negadoaluno.asp"
  MM_flag="ADODB.Recordset"
  set MM_rsUser = Server.CreateObject(MM_flag)
  MM_rsUser.ActiveConnection = MM_ConexaoSkill_STRING
  MM_rsUser.Source = "SELECT login, senha"
  If MM_fldUserAuthorization <> "" Then MM_rsUser.Source = MM_rsUser.Source & "," & MM_fldUserAuthorization
  MM_rsUser.Source = MM_rsUser.Source & " FROM Boletinp1 WHERE login='" & Replace(MM_valUsername,"'","''") &"' AND senha='" & Replace(Request.Form("senha"),"'","''") & "'"
  MM_rsUser.CursorType = 0
  MM_rsUser.CursorLocation = 2
  MM_rsUser.LockType = 3
  MM_rsUser.Open
  If Not MM_rsUser.EOF Or Not MM_rsUser.BOF Then 
	' username and password match - this is a valid user
	Session("MM_Username") = MM_valUsername
	If (MM_fldUserAuthorization <> "") Then
	  Session("MM_UserAuthorization") = CStr(MM_rsUser.Fields.Item(MM_fldUserAuthorization).Value)
	Else
	  Session("MM_UserAuthorization") = ""
	End If
	if CStr(Request.QueryString("accessdenied")) <> "" And false Then
	  MM_redirectLoginSuccess = Request.QueryString("accessdenied")
	End If
	MM_rsUser.Close
	Response.Redirect(MM_redirectLoginSuccess)
  End If
  MM_rsUser.Close
  Response.Redirect(MM_redirectLoginFailed)
End If
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>

<body>
<table width="660" border="0" align="center" cellpadding="0" cellspacing="0">

  <tr>
	<td width="229"><img src="figuras/logoSKILL.jpg" width="229" height="66" /></td>
	<td width="615"><p align="center"> </p>
		<h1 align="center"><font color="#012F6B" face="Arial, Helvetica, sans-serif">Boletin de Aproveitamento </font></h1></td>
  </tr>
</table>
<p> </p>
<table width="574" border="0" align="center" cellpadding="6" cellspacing="0">
  <tr>
	<td><form action="<%=MM_LoginAction%>" method="POST" name="login" id="login">
	  <table width="246" height="68" border="0" align="center" cellpadding="0" cellspacing="0">
		<tr>
		  <td width="30%" height="21"><div align="left" class="texto1"><span class="form"><b>Login</b></span><b>:</b></div></td>
		  <td colspan="2"><input name="login" type="text" class="input" id="login2" size="20" /></td>
		</tr>
		<tr>
		  <td><div align="left" class="form"><b>Senha:</b></div></td>
		  <td width="36%"><input name="senha" type="password" class="input" id="senha" size="20" /></td>
		  <td width="34%" valign="middle"><input name="Submit" type="submit" class="submit" value="OK" /></td>
		</tr>
	  </table>
	</form></td>
  </tr>
</table>
<p> </p>
</body>
</html>
<%
ConslutaP1.Close()
Set ConslutaP1 = Nothing
%>
<%
ConslutaP2.Close()
Set ConslutaP2 = Nothing
%>
<%
ConslutaP3.Close()
Set ConslutaP3 = Nothing
%>
<%
ConslutaP4.Close()
Set ConslutaP4 = Nothing
%>

PAGINA DE BOLETIM Do aluno 

<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<!--#include file="Connections/ConexaoSkill.asp" -->
<%
Dim ConslutaP1__MMColParam
ConslutaP1__MMColParam = "1"
If (Request.QueryString("login") <> "") Then 
  ConslutaP1__MMColParam = Request.QueryString("login")
End If
%>
<%
Dim ConslutaP1
Dim ConslutaP1_numRows

Set ConslutaP1 = Server.CreateObject("ADODB.Recordset")
ConslutaP1.ActiveConnection = MM_ConexaoSkill_STRING
ConslutaP1.Source = "SELECT * FROM Boletinp1 WHERE login = '" + Replace(ConslutaP1__MMColParam, "'", "''") + "' ORDER BY Nome ASC"
ConslutaP1.CursorType = 0
ConslutaP1.CursorLocation = 2
ConslutaP1.LockType = 1
ConslutaP1.Open()

ConslutaP1_numRows = 0
%>
<%
'  *** Recordset Stats, Move To Record, and Go To Record: declare stats variables

Dim ConslutaP1_total
Dim ConslutaP1_first
Dim ConslutaP1_last

' set the record count
ConslutaP1_total = ConslutaP1.RecordCount

' set the number of rows displayed on this page
If (ConslutaP1_numRows < 0) Then
  ConslutaP1_numRows = ConslutaP1_total
Elseif (ConslutaP1_numRows = 0) Then
  ConslutaP1_numRows = 1
End If

' set the first and last displayed record
ConslutaP1_first = 1
ConslutaP1_last  = ConslutaP1_first + ConslutaP1_numRows - 1

' if we have the correct record count, check the other stats
If (ConslutaP1_total <> -1) Then
  If (ConslutaP1_first > ConslutaP1_total) Then
	ConslutaP1_first = ConslutaP1_total
  End If
  If (ConslutaP1_last > ConslutaP1_total) Then
	ConslutaP1_last = ConslutaP1_total
  End If
  If (ConslutaP1_numRows > ConslutaP1_total) Then
	ConslutaP1_numRows = ConslutaP1_total
  End If
End If
%>
<%
Dim MM_paramName 
%>
<%
' *** Move To Record and Go To Record: declare variables

Dim MM_rs
Dim MM_rsCount
Dim MM_size
Dim MM_uniqueCol
Dim MM_offset
Dim MM_atTotal
Dim MM_paramIsDefined

Dim MM_param
Dim MM_index

Set MM_rs	= ConslutaP1
MM_rsCount   = ConslutaP1_total
MM_size	  = ConslutaP1_numRows
MM_uniqueCol = ""
MM_paramName = ""
MM_offset = 0
MM_atTotal = false
MM_paramIsDefined = false
If (MM_paramName <> "") Then
  MM_paramIsDefined = (Request.QueryString(MM_paramName) <> "")
End If
%>
<%
' *** Move To Record: handle 'index' or 'offset' parameter

if (Not MM_paramIsDefined And MM_rsCount <> 0) then

  ' use index parameter if defined, otherwise use offset parameter
  MM_param = Request.QueryString("index")
  If (MM_param = "") Then
	MM_param = Request.QueryString("offset")
  End If
  If (MM_param <> "") Then
	MM_offset = Int(MM_param)
  End If

  ' if we have a record count, check if we are past the end of the recordset
  If (MM_rsCount <> -1) Then
	If (MM_offset >= MM_rsCount Or MM_offset = -1) Then  ' past end or move last
	  If ((MM_rsCount Mod MM_size) > 0) Then		 ' last page not a full repeat region
		MM_offset = MM_rsCount - (MM_rsCount Mod MM_size)
	  Else
		MM_offset = MM_rsCount - MM_size
	  End If
	End If
  End If

  ' move the cursor to the selected record
  MM_index = 0
  While ((Not MM_rs.EOF) And (MM_index < MM_offset Or MM_offset = -1))
	MM_rs.MoveNext
	MM_index = MM_index + 1
  Wend
  If (MM_rs.EOF) Then 
	MM_offset = MM_index  ' set MM_offset to the last possible record
  End If

End If
%>
<%
' *** Move To Record: if we dont know the record count, check the display range

If (MM_rsCount = -1) Then

  ' walk to the end of the display range for this page
  MM_index = MM_offset
  While (Not MM_rs.EOF And (MM_size < 0 Or MM_index < MM_offset + MM_size))
	MM_rs.MoveNext
	MM_index = MM_index + 1
  Wend

  ' if we walked off the end of the recordset, set MM_rsCount and MM_size
  If (MM_rs.EOF) Then
	MM_rsCount = MM_index
	If (MM_size < 0 Or MM_size > MM_rsCount) Then
	  MM_size = MM_rsCount
	End If
  End If

  ' if we walked off the end, set the offset based on page size
  If (MM_rs.EOF And Not MM_paramIsDefined) Then
	If (MM_offset > MM_rsCount - MM_size Or MM_offset = -1) Then
	  If ((MM_rsCount Mod MM_size) > 0) Then
		MM_offset = MM_rsCount - (MM_rsCount Mod MM_size)
	  Else
		MM_offset = MM_rsCount - MM_size
	  End If
	End If
  End If

  ' reset the cursor to the beginning
  If (MM_rs.CursorType > 0) Then
	MM_rs.MoveFirst
  Else
	MM_rs.Requery
  End If

  ' move the cursor to the selected record
  MM_index = 0
  While (Not MM_rs.EOF And MM_index < MM_offset)
	MM_rs.MoveNext
	MM_index = MM_index + 1
  Wend
End If
%>
<%
' *** Move To Record: update recordset stats

' set the first and last displayed record
ConslutaP1_first = MM_offset + 1
ConslutaP1_last  = MM_offset + MM_size

If (MM_rsCount <> -1) Then
  If (ConslutaP1_first > MM_rsCount) Then
	ConslutaP1_first = MM_rsCount
  End If
  If (ConslutaP1_last > MM_rsCount) Then
	ConslutaP1_last = MM_rsCount
  End If
End If

' set the boolean used by hide region to check if we are on the last record
MM_atTotal = (MM_rsCount <> -1 And MM_offset + MM_size >= MM_rsCount)
%>
<%
' *** Go To Record and Move To Record: create strings for maintaining URL and Form parameters

Dim MM_keepNone
Dim MM_keepURL
Dim MM_keepForm
Dim MM_keepBoth

Dim MM_removeList
Dim MM_item
Dim MM_nextItem

' create the list of parameters which should not be maintained
MM_removeList = "&index="
If (MM_paramName <> "") Then
  MM_removeList = MM_removeList & "&" & MM_paramName & "="
End If

MM_keepURL=""
MM_keepForm=""
MM_keepBoth=""
MM_keepNone=""

' add the URL parameters to the MM_keepURL string
For Each MM_item In Request.QueryString
  MM_nextItem = "&" & MM_item & "="
  If (InStr(1,MM_removeList,MM_nextItem,1) = 0) Then
	MM_keepURL = MM_keepURL & MM_nextItem & Server.URLencode(Request.QueryString(MM_item))
  End If
Next

' add the Form variables to the MM_keepForm string
For Each MM_item In Request.Form
  MM_nextItem = "&" & MM_item & "="
  If (InStr(1,MM_removeList,MM_nextItem,1) = 0) Then
	MM_keepForm = MM_keepForm & MM_nextItem & Server.URLencode(Request.Form(MM_item))
  End If
Next

' create the Form + URL string and remove the intial '&' from each of the strings
MM_keepBoth = MM_keepURL & MM_keepForm
If (MM_keepBoth <> "") Then 
  MM_keepBoth = Right(MM_keepBoth, Len(MM_keepBoth) - 1)
End If
If (MM_keepURL <> "")  Then
  MM_keepURL  = Right(MM_keepURL, Len(MM_keepURL) - 1)
End If
If (MM_keepForm <> "") Then
  MM_keepForm = Right(MM_keepForm, Len(MM_keepForm) - 1)
End If

' a utility function used for adding additional parameters to these strings
Function MM_joinChar(firstItem)
  If (firstItem <> "") Then
	MM_joinChar = "&"
  Else
	MM_joinChar = ""
  End If
End Function
%>
<%
' *** Move To Record: set the strings for the first, last, next, and previous links

Dim MM_keepMove
Dim MM_moveParam
Dim MM_moveFirst
Dim MM_moveLast
Dim MM_moveNext
Dim MM_movePrev

Dim MM_urlStr
Dim MM_paramList
Dim MM_paramIndex
Dim MM_nextParam

MM_keepMove = MM_keepBoth
MM_moveParam = "index"

' if the page has a repeated region, remove 'offset' from the maintained parameters
If (MM_size > 1) Then
  MM_moveParam = "offset"
  If (MM_keepMove <> "") Then
	MM_paramList = Split(MM_keepMove, "&")
	MM_keepMove = ""
	For MM_paramIndex = 0 To UBound(MM_paramList)
	  MM_nextParam = Left(MM_paramList(MM_paramIndex), InStr(MM_paramList(MM_paramIndex),"=") - 1)
	  If (StrComp(MM_nextParam,MM_moveParam,1) <> 0) Then
		MM_keepMove = MM_keepMove & "&" & MM_paramList(MM_paramIndex)
	  End If
	Next
	If (MM_keepMove <> "") Then
	  MM_keepMove = Right(MM_keepMove, Len(MM_keepMove) - 1)
	End If
  End If
End If

' set the strings for the move to links
If (MM_keepMove <> "") Then 
  MM_keepMove = Server.HTMLEncode(MM_keepMove) & "&"
End If

MM_urlStr = Request.ServerVariables("URL") & "?" & MM_keepMove & MM_moveParam & "="

MM_moveFirst = MM_urlStr & "0"
MM_moveLast  = MM_urlStr & "-1"
MM_moveNext  = MM_urlStr & CStr(MM_offset + MM_size)
If (MM_offset - MM_size < 0) Then
  MM_movePrev = MM_urlStr & "0"
Else
  MM_movePrev = MM_urlStr & CStr(MM_offset - MM_size)
End If
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>

<body>
<table width="660" border="0" align="center" cellpadding="0" cellspacing="0">

  <tr>
	<td width="229"><img src="figuras/logoSKILL.jpg" width="229" height="66" /></td>
	<td width="615"><p align="center"> </p>
		<h1 align="center"><font color="#012F6B" face="Arial, Helvetica, sans-serif">Boletin de Aproveitamento </font></h1></td>
  </tr>
</table>
<table width="218" height="28" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
	<td width="66"><a href="<%=MM_moveLast%>"></a><a href="<%=MM_moveFirst%>">Primeiro</a></td>
	<td width="60"><a href="<%=MM_movePrev%>">Anterior</a></td>
	<td width="65"><a href="<%=MM_moveNext%>">Proximo</a></td>
	<td width="27"><a href="<%=MM_moveLast%>">Ultimo</a><a href="<%=MM_moveFirst%>"></a></td>
  </tr>
</table>

<% If ConslutaP1.EOF And ConslutaP1.BOF Then %>
  <p><strong>Na há registros</strong></p>
  <% End If ' end ConslutaP1.EOF And ConslutaP1.BOF %>
<% If Not ConslutaP1.EOF Or Not ConslutaP1.BOF Then %>
  <table width="800" height="0" border="0" align="center" cellpadding="0" cellspacing="0">
	<form id="BoletinP1" name="BoletinP1">
	  <tr>
		<td height="19">
		  <table width="64%" border="0" cellspacing="0" cellpadding="0">
			<tr>
			  <td width="7%">Nome</td>
			  <td width="19%"><%=(ConslutaP1.Fields.Item("Nome").Value)%></td>
			  <td width="5%">Data</td>
			  <td width="19%"><%=(ConslutaP1.Fields.Item("Data").Value)%></td>
			  <td colspan="2">IdAluno <%=(ConslutaP1.Fields.Item("IdAluno").Value)%></td>
			</tr>
			<tr>
			  <td>Unidade</td>
			  <td><%=(ConslutaP1.Fields.Item("Unidade").Value)%></td>
			  <td>Curso</td>
			<td><%=(ConslutaP1.Fields.Item("Curso").Value)%></td>
			<td colspan="2">Estagio			  <%=(ConslutaP1.Fields.Item("Estagio").Value)%></td>
			</tr>
			<tr>
			  <td> </td>
			<td> </td>
			<td> </td>
			<td> </td>
			<td colspan="2"> </td>
			</tr>
			<tr>
			  <td colspan="6" bgcolor="#003366"><h1 align="center"><font color="#FFFFFF" face="Arial, Helvetica, sans-serif">PERÍODO 1 </font></h1></td>
			</tr>
			
			<tr>
			  <td> </td>
			<td> </td>
			<td> </td>
			<td> </td>
			<td width="8%"> </td>
			<td width="42%"> </td>
		  </tr>
			<tr>
			  <td height="42" colspan="2" bgcolor="#0000FF"><div align="center"><font color="#FFFFFF"><strong>CRITÉRIO</strong></font></div></td>
			<td colspan="2" bgcolor="#0000FF"><div align="center"><font color="#FFFFFF"></font><font color="#FFFFFF"><strong>CONCEITO</strong></font></div></td>
			<td colspan="2" bgcolor="#0000FF"><div align="center"><font color="#FFFFFF"></font><strong><font color="#FFFFFF">OBSERVAÇÕES</font></strong></div></td>
			</tr>
			<tr>
			  <td colspan="2"><strong><font color="#FF0000">Fluência</font></strong></td>
			  <td colspan="2"> </td>
			  <td colspan="2" rowspan="6"> </td>
			</tr>
			<tr>
			  <td colspan="2"><strong><font color="#FF0000">Pronúncia</font></strong></td>
			  <td colspan="2"> </td>
			</tr>
			<tr>
			  <td colspan="2"><strong><font color="#FF0000">Vocabulario</font></strong></td>
			  <td colspan="2"> </td>
			</tr>
			<tr>
			  <td colspan="2"><strong><font color="#FF0000">Gramática</font></strong></td>
			  <td colspan="2"> </td>
			</tr>
			<tr>
			  <td colspan="2"><strong><font color="#FF0000">Comunicação</font></strong></td>
			  <td colspan="2"> </td>
			</tr>
			<tr>
			  <td colspan="2"><strong><font color="#FF0000">Competencia Sociolingüística </font></strong></td>
			  <td colspan="2"> </td>
			</tr>
			<tr>
			  <td colspan="2" bgcolor="#0000FF"><strong><font color="#FFFFFF">Oralidade</font></strong></td>
			  <td colspan="2"> </td>
			  <td colspan="2" bgcolor="#FF0000"><strong><font color="#FFFFFF">Total - Oralidade 
			  
			  </font></strong></td>
			</tr>
			<tr>
			  <td colspan="2"><font color="#FF0000"><strong>Atividades de Casa </strong></font></td>
			  <td colspan="2"> </td>
			  <td colspan="2"> </td>
			</tr>
			<tr>
			  <td colspan="2"><font color="#FF0000"><strong>Pontualidade</strong></font></td>
			  <td colspan="2"> </td>
			  <td colspan="2"> </td>
			</tr>
			<tr>
			  <td colspan="2"><font color="#FF0000"><strong>Assiduidade</strong></font></td>
			  <td colspan="2"> </td>
			  <td colspan="2"> </td>
			</tr>
			<tr>
			  <td colspan="2"><font color="#FF0000"><strong>Envolvimento em Aula </strong></font></td>
			  <td colspan="2"> </td>
			  <td colspan="2"> </td>
			</tr>
			<tr>
			  <td colspan="2" bgcolor="#0000FF"><strong><font color="#FFFFFF">Participação</font></strong></td>
			  <td colspan="2"> </td>
			  <td colspan="2" bgcolor="#FF0000"><strong><font color="#FFFFFF">Total - Paticipação
			  
			  </font></strong></td>
			</tr>
			<tr>
			  <td colspan="2" bgcolor="#0000FF"><strong><font color="#FFFFFF">Teste Escrito </font></strong></td>
			  <td colspan="2"> </td>
			  <td colspan="2" bgcolor="#FF0000"><strong><font color="#FFFFFF">Total - Testes Escritos
			  
			  </font></strong></td>
			</tr>
			<tr>
			  <td colspan="2" bgcolor="#FFFFFF"><strong><font color="#000066">Conceito </font></strong></td>
			  <td colspan="2"> </td>
			  <td colspan="2"><strong><font color="#FF0000">Conceito Total </font></strong></td>
		  </tr>
			<tr>
			  <td colspan="2"> </td>
			<td colspan="2"> </td>
			<td colspan="2"> </td>
		  </tr>
		</table></td>
	  </tr>
	</form>
  </table>
  <% End If ' end Not ConslutaP1.EOF Or NOT ConslutaP1.BOF %>
<p>  </p>
</body>
</html>
<%
ConslutaP1.Close()
Set ConslutaP1 = Nothing
%>

Compartilhar este post


Link para o post
Compartilhar em outros sites

Cara, na boa, dá até desamino ver um post deste tamanho... :(

Mas vou sugerir o seguinte: Após o usuário se logar, guarde o nome dele um uma "Session" e depois utilize a mesma para filtrar os dados...

 

Abs.

Compartilhar este post


Link para o post
Compartilhar em outros sites

Cara, na boa, dá até desamino ver um post deste tamanho... :(

Mas vou sugerir o seguinte: Após o usuário se logar, guarde o nome dele um uma "Session" e depois utilize a mesma para filtrar os dados...

 

Abs.

Tudo bem poderia colocar um exemplo para mim por favor?

 

Eu tava querendo fazer que ao usuario logar-se pelo formulario quando fosse redirecionado para a pagina do boletin a pagina recupera-se o login e comparase no banco e trazia so a informacao do usuario....

 

 

Grato leone

Compartilhar este post


Link para o post
Compartilhar em outros sites

Esses codigos do DW sao horriveis mesmo

 

Voce terá que usar mesmo uma session e quando o aluno entrar usar este dado num WHERE na caonsulta

Compartilhar este post


Link para o post
Compartilhar em outros sites

isso significa que resolveu?

Compartilhar este post


Link para o post
Compartilhar em outros sites

otimo

 

Parabens pela resolucao

Compartilhar este post


Link para o post
Compartilhar em outros sites

×

Informação importante

Ao usar o fórum, você concorda com nossos Termos e condições.