Advertisement

09.30.2008 at 09:48AM PDT, ID: 23775328
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

6.0

PHP, variable values does't pass from one page to the other

Asked by lanmex in PHP and Databases, Web Languages/Standards, PHP for Windows

Tags: ,

Hi guys,

I am working with a page to display an arrangement lines from a MySQL table, every line has a link to another page and at the same time on having given click in some line, values are assigned to some variables which I want to use on the following page.

When I prove this page, I can see the lines of the arrangement without any problem even when the I pass the mouse over some of the lines, can see the values of the variables in the bottom of the page and if I pass the mouse on another line can see the values of this another line.

At this point I have no problem, but when I click at any line, the next page is displayed but the variables  always bring the same value, they do not change, and there's no error messages in any palce.

I hope that you who are the geniuses you could help me with this matter, thank you guys.

Here's the code I'm using
Start Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
<HTML>
<style type="text/css">
<!--
.style2 {font-family: Arial, Helvetica, sans-serif}
.style4 {color: #FF0000}
.style5 {
	font-size: 16px;
	color: #0033FF;
}
.style6 {font-size: 9px}
.style7 {font-size: 24px}
-->
</style>
<BODY bgcolor="#E6E6E6">
<table width="91%" border="1" align="center">
    <tr>
      <td width="100%" bgcolor="#99FF33"><div align="center" class="style10 style9 style2 style7">Administraci&oacute;n de la Base de Conocimientos</div></td>
    </tr>
</table>
<?
//----------------------------------------------------------
//Inicialización de variables.
$DBhost = "192.168.8.999";
$DBuser = "test";
$DBpass = "";
$DBName = "test";
$table = "documentos";
//-------------------------------------------------------------------------------------
	$db = mysql_connect($DBhost,$DBuser,$DBpass) or die("No fué posible conectarse con la Base de Datos.");
	@mysql_select_db("$DBName",$db) or die("Unable to select database $DBName");
	@$sql80 = "SELECT * FROM $table where departamento = '$sess_departamento' order by 'tipo', 'nombre', 'fecha' ";
	$result50 = mysql_query($sql80);
//-------------------------------------------------------------------------------------
?>
<p>&nbsp;</p>
<table width="869" border="0">
  <tr>
    <td><span class="style5"><span class="style33 style2"><? echo "$sess_persona"; ?></span></span></td>
  </tr>
  <tr>
    <td><span class="style5"><span class="style33 style2"><? echo "$sess_departamento"; ?></span></span></td>
  </tr>
</table>
<p class="style6">&nbsp;</p>
<table width="97%" height="25" border="1" align="left" cellpadding="1" cellspacing="0">
  <tr> 
    <td width="8%"><div align="left" class="style4"><span class="style2">Tipo</span></div></td>
    <td width="53%"><div align="left" class="style4"><span class="style2">Documento</span></div></td>
    <td width="12%"><div align="left" class="style4"><span class="style2">Fecha</span></div></td>
    <td width="10%"><div align="left" class="style4"><span class="style2">Versiones</span></div></td>
    <td width="10%"><div align="left" class="style4"><span class="style2">Actualizar</span></div></td>
    <td width="7%"><div align="left" class="style4"><span class="style2">Borrar</span></div></td>
  </tr>
<?php
while ($row = mysql_fetch_array($result50)) {
      echo "<tr>";
      echo ('<td><div class="style2"><font name="arial">' . $row["tipo"] . '</div></font></td>');
      echo ('<td><div class="style2"><font name="arial">' . $row["nombre"] . '</div></font></td>');
      echo ('<td><div class="style2"><font name="arial">' . $row["fecha"] . '</div></font></td>');
	  echo ('<td><div class="style2"><font name="arial"><a href="archivosversiones.php?ses_clave='.$row["key"].'&ses_usuario='.$row["usuario"].'&ses_archivo='.$row["nombre"].'&ses_ruta='.$row["rutaorigen"].'&ses_fecha='.$row["fecha"].'">' . "Versiones" . '</a></font></td>');
	  echo ('<td><div class="style2"><font name="arial"><a href="archivosactualizados.php?ses_clave='.$row["key"].'&ses_usuario='.$row["usuario"].'&ses_archivo='.$row["nombre"].'&ses_ruta='.$row["rutaorigen"].'&ses_fecha='.$row["fecha"].'">' . "Actualizar" . '</a></font></td>');
	  echo ('<td><div class="style2"><font name="arial"><a href="prueba99.php?ses_clave='.$row["key"].'&ses_usuario='.$row["usuario"].'&ses_archivo='.$row["nombre"].'&ses_ruta='.$row["rutaorigen"].'&ses_fecha='.$row["fecha"].'">' . "Borrar" . '</a></font></td>');
	  echo "</tr>";	  
}
 
?>
</table>
<body>
</body>
</html>
[+][-]09.30.2008 at 11:21AM PDT, ID: 22607974

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.30.2008 at 11:37AM PDT, ID: 22608079

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.30.2008 at 11:38AM PDT, ID: 22608094

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.30.2008 at 11:44AM PDT, ID: 22608143

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.30.2008 at 12:00PM PDT, ID: 22608299

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.30.2008 at 12:03PM PDT, ID: 22608335

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.30.2008 at 12:10PM PDT, ID: 22608411

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.30.2008 at 02:01PM PDT, ID: 22609425

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: PHP and Databases, Web Languages/Standards, PHP for Windows
Tags: php & mysql, internet explorer 7
Sign Up Now!
Solution Provided By: hernst42
Participating Experts: 2
Solution Grade: C
 
 
[+][-]09.30.2008 at 03:54PM PDT, ID: 22610160

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.30.2008 at 08:29PM PDT, ID: 22611429

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.01.2008 at 02:47PM PDT, ID: 22619445

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.01.2008 at 02:48PM PDT, ID: 22619454

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.03.2008 at 10:24AM PDT, ID: 22636030

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.03.2008 at 01:45PM PDT, ID: 22637883

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.03.2008 at 02:49PM PDT, ID: 22638379

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.03.2008 at 03:02PM PDT, ID: 22638441

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]10.06.2008 at 10:54AM PDT, ID: 22652582

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.06.2008 at 11:42AM PDT, ID: 22653027

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.06.2008 at 01:10PM PDT, ID: 22653954

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 - Hierarchy / EE_QW_2_20070628