?
Solved

parse error......faster the help more point you get

Posted on 2005-03-22
15
Medium Priority
?
297 Views
Last Modified: 2013-12-12
Ok, I have been working on this problem for 3 days now....first I want to update multipule rows in mysql but I couldnt find anything for that unless I buy something so with my knowlage of VB.net I thought that php couldnt be that hard. I looked around on the web to find how to code if-eles statements and proceided to code. Now I get a parse error on line 44 of my code. what I am asking is that you look at my code (mainly writen by dreamweaver) and tell me what I am doing wrong........Or get me in touch with an extention to do what I would like. My code is below with line 44 marked.

I have 1800 points to give on this question. I will set points at 250 for starters....but if I get an answer before 5:00pm cst I will give them all to you. If there isnt a good answer by that time I will then take off 500 points every day.

Thank
Marc



<?php require_once('../Connections/connection1.php'); ?>
<?php

function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
{
  $theValue = (!get_magic_quotes_gpc()) ? addslashes($theValue) : $theValue;

  switch ($theType) {
    case "text":
      $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
      break;    
    case "long":
    case "int":
      $theValue = ($theValue != "") ? intval($theValue) : "NULL";
      break;
    case "double":
      $theValue = ($theValue != "") ? "'" . doubleval($theValue) . "'" : "NULL";
      break;
    case "date":
      $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
      break;
    case "defined":
      $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
      break;
  }
  return $theValue;
}

$editFormAction = $_SERVER['PHP_SELF'];
if (isset($_SERVER['QUERY_STRING'])) {
  $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
}

if ((isset($_POST["MM_update"])) && ($_POST["MM_update"] == "form1")) {
  $updateSQL = sprintf("UPDATE images SET album=%s WHERE id=%s",
                       GetSQLValueString($_POST['new'], "text"),
                       GetSQLValueString($_POST['id'], "int"));

  mysql_select_db($database_connection1, $connection1);
  $Result1 = mysql_query($updateSQL, $connection1) or die(mysql_error());

$NumberOfRecords = $totalRows_Recordset1

/*This is line 44*/       if ($NumberOfRecords > 0)
{
  $updateGoTo = "updatealbums2.php";
  }
  else
  {
  $updateGoTo = "secarchive.php";
  }
  if (isset($_SERVER['QUERY_STRING'])) {
    $updateGoTo .= (strpos($updateGoTo, '?')) ? "&" : "?";
    $updateGoTo .= $_SERVER['QUERY_STRING'];
  }
  header(sprintf("Location: %s", $updateGoTo));
}


$colname_Recordset1 = "1";
if (isset($_GET['old'])) {
  $colname_Recordset1 = (get_magic_quotes_gpc()) ? $_GET['old'] : addslashes($_GET['old']);
}
mysql_select_db($database_connection1, $connection1);
$query_Recordset1 = sprintf("SELECT * FROM images WHERE album = '%s'", $colname_Recordset1);
$Recordset1 = mysql_query($query_Recordset1, $connection1) or die(mysql_error());
$row_Recordset1 = mysql_fetch_assoc($Recordset1);
$totalRows_Recordset1 = mysql_num_rows($Recordset1);
?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
<style type="text/css">
<!--
body {
      margin-left: 0px;
      margin-top: 0px;
      margin-right: 0px;
      margin-bottom: 0px;
}
.style3 {font-size: 22px}
a:link {
      color: #04AC33;
}
a:visited {
      color: #04AC33;
}
a {
      font-style: italic;
}
.style7 {font-size: 12px}
-->
</style>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_nbGroup(event, grpName) { //v6.0
  var i,img,nbArr,args=MM_nbGroup.arguments;
  if (event == "init" && args.length > 2) {
    if ((img = MM_findObj(args[2])) != null && !img.MM_init) {
      img.MM_init = true; img.MM_up = args[3]; img.MM_dn = img.src;
      if ((nbArr = document[grpName]) == null) nbArr = document[grpName] = new Array();
      nbArr[nbArr.length] = img;
      for (i=4; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
        if (!img.MM_up) img.MM_up = img.src;
        img.src = img.MM_dn = args[i+1];
        nbArr[nbArr.length] = img;
    } }
  } else if (event == "over") {
    document.MM_nbOver = nbArr = new Array();
    for (i=1; i < args.length-1; i+=3) if ((img = MM_findObj(args[i])) != null) {
      if (!img.MM_up) img.MM_up = img.src;
      img.src = (img.MM_dn && args[i+2]) ? args[i+2] : ((args[i+1])? args[i+1] : img.MM_up);
      nbArr[nbArr.length] = img;
    }
  } else if (event == "out" ) {
    for (i=0; i < document.MM_nbOver.length; i++) {
      img = document.MM_nbOver[i]; img.src = (img.MM_dn) ? img.MM_dn : img.MM_up; }
  } else if (event == "down") {
    nbArr = document[grpName];
    if (nbArr)
      for (i=0; i < nbArr.length; i++) { img=nbArr[i]; img.src = img.MM_up; img.MM_dn = 0; }
    document[grpName] = nbArr = new Array();
    for (i=2; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
      if (!img.MM_up) img.MM_up = img.src;
      img.src = img.MM_dn = (args[i+1])? args[i+1] : img.MM_up;
      nbArr[nbArr.length] = img;
  } }
}
//-->
</script>
</head>

<body onLoad="document.form1.submit()"><div align="center">
<table width="769" border="0" cellpadding="0" cellspacing="0">
  <!--DWLayoutTable-->
  <tr bgcolor="#FEFE00">
    <td height="185" colspan="3" valign="top"><img src="../images/devices/t1.gif" width="760" height="185" border="0" usemap="#Map"></td>
  </tr>
  <tr>
    <td width="102" rowspan="4" valign="top" background="../images/bg/Eivyruletrans.gif"><table border="0" cellpadding="0" cellspacing="0">
        <!--DWLayoutTable-->
        <tr>
          <td width="102" height="51">&nbsp;</td>
        </tr>
        <tr>
          <td height="51" valign="top"><a href="../officers.htm" target="_top" onClick="MM_nbGroup('down','group1','Officers','',1)" onMouseOver="MM_nbGroup('over','Officers','','',1)" onMouseOut="MM_nbGroup('out')"><img src="../images/btns/officers.gif" alt="" name="Officers" width="102" height="51" border="0" onload=""></a></td>
        </tr>
        <tr>
          <td height="51" valign="top"><a href="../news.htm" target="_top" onClick="MM_nbGroup('down','group1','news','',1)" onMouseOver="MM_nbGroup('over','news','','',1)" onMouseOut="MM_nbGroup('out')"><img src="../images/btns/news.gif" alt="" name="news" width="102" height="51" border="0" onload=""></a></td>
        </tr>
        <tr>
          <td height="51" valign="top"><a href="../events.htm" target="_top" onClick="MM_nbGroup('down','group1','events','',1)" onMouseOver="MM_nbGroup('over','events','','',1)" onMouseOut="MM_nbGroup('out')"><img src="../images/btns/evants.gif" alt="" name="events" width="102" height="51" border="0" onload=""></a></td>
        </tr>
        <tr>
          <td height="51" valign="top"><a href="../guilds.htm" target="_top" onClick="MM_nbGroup('down','group1','guilds','',1)" onMouseOver="MM_nbGroup('over','guilds','','',1)" onMouseOut="MM_nbGroup('out')"><img src="../images/btns/guilds.gif" alt="" name="guilds" width="102" height="50" border="0" onload=""></a></td>
        </tr>
        <tr>
          <td height="51" valign="top"><a href="../elists.htm" target="_top" onClick="MM_nbGroup('down','group1','elists','',1)" onMouseOver="MM_nbGroup('over','elists','','',1)" onMouseOut="MM_nbGroup('out')"><img src="../images/btns/elists.gif" alt="" name="elists" width="102" height="50" border="0" onload=""></a></td>
        </tr>
        <tr>
          <td height="133">&nbsp;</td>
        </tr>
    </table></td>
    <td width="564" height="15" valign="top"><div align="center"><span class="style7">Devises above are links also. </span></div></td>
    <td width="103" rowspan="4" valign="top" background="../images/bg/Eivyruletrans2.gif"><div align="left"></div></td>
  </tr>
  <tr>
    <td height="9"></td>
  </tr>
  <tr>
    <td height="355" valign="top" bgcolor="#FFFFFF"><div align="center">
        <form action="<?php echo $editFormAction; ?>" name="form1" method="POST">
          <input name="numofrows" type="hidden" id="numofrows" value="<?php echo $_GET['numofrows']; ?>">
          <input name="new" type="hidden" id="new" value="<?php echo $_GET['new']; ?>">
        <input name="id" type="hidden" id="id" value="<?php echo $row_Recordset1['id']; ?>">
        <input type="hidden" name="MM_update" value="form1">
        </form>
        <p align="center" class="style3">&nbsp;<?php echo $totalRows_Recordset1 ?> </p>
        </div></td>
  </tr>
  <tr>
    <td height="60" valign="top" bgcolor="#FFFF01"><div align="center"><a href="http://www.northshield.org/"> Kingdom of Northshield</a> | <a href="http://www.jararvellir.org/">Barrony of Jararvellr</a> | <a href="http://sca.org">SCA</a> |    <a href="../disclimer.htm">Disclaimer</a><br>
    <a href="mailto:marcus@dooleyfam.com?cc=cte71259@centurytel.net&subject=Website%20Email%20(Webminister)">Email the Webminister</a> </div></td>
  </tr>
</table>
<map name="Map">
  <area shape="rect" coords="199,9,250,69" href="http://www.sca.org">
  <area shape="rect" coords="354,6,404,65" href="http://www.northshield.org/">
  <area shape="rect" coords="514,12,565,69" href="http://www.jararvellir.org/">
  <area shape="rect" coords="15,12,134,148" href="../index.htm">
  <area shape="rect" coords="641,13,758,152" href="../index.htm">
</map>
</body>
</html>
<?php
mysql_free_result($Recordset1);
?>
0
Comment
Question by:wgws
  • 8
  • 7
15 Comments
 
LVL 32

Expert Comment

by:Batalf
ID: 13604933
It's the line above

$NumberOfRecords = $totalRows_Recordset1

should be

$NumberOfRecords = $totalRows_Recordset1;
0
 
LVL 32

Expert Comment

by:Batalf
ID: 13604935
with semicolon at the end.
0
 
LVL 32

Expert Comment

by:Batalf
ID: 13604976
btw: The maximum amount of points a question is 500.
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LVL 1

Author Comment

by:wgws
ID: 13605004
Ok I did that.....now I get this.

Notice: Undefined variable: totalRows_Recordset1 in F:\Webpages\server\Abyss Web Server\htdocs\canton\sucure\updatealbums2.php on line 42
0
 
LVL 1

Author Comment

by:wgws
ID: 13605012
If you get this working for me....I will find a way for you to get the points.
0
 
LVL 32

Expert Comment

by:Batalf
ID: 13605031
No, don't mind the points:-)

$totalRows_Recordset1 isn't define before line 62. What should it do on line 42?

If you want to count numbers of affected rows by the query above, maybe you should modify line 42 to this:

$NumberOfRecords = mysql_affected_rows($Result1);
0
 
LVL 1

Author Comment

by:wgws
ID: 13605096
I have my recordset filtering out all records with the same album name. then one by one the album names will be updated to a diffrent name. what $NumberOfRecords does is gets how meany records there are left. if there are none the form is auto submited again (not making any change) but this time instead of coming back to this same page to run another update it goes to a finnished page.
so basicly $NumberOfRecords tells the code weather it it has more records to run so it knows to rerun the page or to finnish up.
Thank for all the help
0
 
LVL 1

Author Comment

by:wgws
ID: 13605170
If you would like to see a working setup...I can upload it to my working server no prob.
0
 
LVL 32

Accepted Solution

by:
Batalf earned 2000 total points
ID: 13605237
I haven't studied your code in detail, but it looks like the redirect part should be moved down some lines:


<?php require_once('../Connections/connection1.php'); ?>
<?php

function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
{
  $theValue = (!get_magic_quotes_gpc()) ? addslashes($theValue) : $theValue;

  switch ($theType) {
    case "text":
      $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
      break;    
    case "long":
    case "int":
      $theValue = ($theValue != "") ? intval($theValue) : "NULL";
      break;
    case "double":
      $theValue = ($theValue != "") ? "'" . doubleval($theValue) . "'" : "NULL";
      break;
    case "date":
      $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
      break;
    case "defined":
      $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
      break;
  }
  return $theValue;
}

$editFormAction = $_SERVER['PHP_SELF'];
if (isset($_SERVER['QUERY_STRING'])) {
  $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
}

if ((isset($_POST["MM_update"])) && ($_POST["MM_update"] == "form1")) {
  $updateSQL = sprintf("UPDATE images SET album=%s WHERE id=%s",
                       GetSQLValueString($_POST['new'], "text"),
                       GetSQLValueString($_POST['id'], "int"));

  mysql_select_db($database_connection1, $connection1);
  $Result1 = mysql_query($updateSQL, $connection1) or die(mysql_error());

$colname_Recordset1 = "1";
if (isset($_GET['old'])) {
  $colname_Recordset1 = (get_magic_quotes_gpc()) ? $_GET['old'] : addslashes($_GET['old']);
}
mysql_select_db($database_connection1, $connection1);
$query_Recordset1 = sprintf("SELECT * FROM images WHERE album = '%s'", $colname_Recordset1);
$Recordset1 = mysql_query($query_Recordset1, $connection1) or die(mysql_error());
$row_Recordset1 = mysql_fetch_assoc($Recordset1);
$totalRows_Recordset1 = mysql_num_rows($Recordset1);

$NumberOfRecords = $totalRows_Recordset1;

if ($NumberOfRecords > 0)
{
  $updateGoTo = "updatealbums2.php";
  }
  else
  {
  $updateGoTo = "secarchive.php";
  }
  if (isset($_SERVER['QUERY_STRING'])) {
    $updateGoTo .= (strpos($updateGoTo, '?')) ? "&" : "?";
    $updateGoTo .= $_SERVER['QUERY_STRING'];
  }
  header(sprintf("Location: %s", $updateGoTo));
}


?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
<style type="text/css">
<!--
body {
     margin-left: 0px;
     margin-top: 0px;
     margin-right: 0px;
     margin-bottom: 0px;
}
.style3 {font-size: 22px}
a:link {
     color: #04AC33;
}
a:visited {
     color: #04AC33;
}
a {
     font-style: italic;
}
.style7 {font-size: 12px}
-->
</style>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_nbGroup(event, grpName) { //v6.0
  var i,img,nbArr,args=MM_nbGroup.arguments;
  if (event == "init" && args.length > 2) {
    if ((img = MM_findObj(args[2])) != null && !img.MM_init) {
      img.MM_init = true; img.MM_up = args[3]; img.MM_dn = img.src;
      if ((nbArr = document[grpName]) == null) nbArr = document[grpName] = new Array();
      nbArr[nbArr.length] = img;
      for (i=4; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
        if (!img.MM_up) img.MM_up = img.src;
        img.src = img.MM_dn = args[i+1];
        nbArr[nbArr.length] = img;
    } }
  } else if (event == "over") {
    document.MM_nbOver = nbArr = new Array();
    for (i=1; i < args.length-1; i+=3) if ((img = MM_findObj(args[i])) != null) {
      if (!img.MM_up) img.MM_up = img.src;
      img.src = (img.MM_dn && args[i+2]) ? args[i+2] : ((args[i+1])? args[i+1] : img.MM_up);
      nbArr[nbArr.length] = img;
    }
  } else if (event == "out" ) {
    for (i=0; i < document.MM_nbOver.length; i++) {
      img = document.MM_nbOver[i]; img.src = (img.MM_dn) ? img.MM_dn : img.MM_up; }
  } else if (event == "down") {
    nbArr = document[grpName];
    if (nbArr)
      for (i=0; i < nbArr.length; i++) { img=nbArr[i]; img.src = img.MM_up; img.MM_dn = 0; }
    document[grpName] = nbArr = new Array();
    for (i=2; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
      if (!img.MM_up) img.MM_up = img.src;
      img.src = img.MM_dn = (args[i+1])? args[i+1] : img.MM_up;
      nbArr[nbArr.length] = img;
  } }
}
//-->
</script>
</head>

<body onLoad="document.form1.submit()"><div align="center">
<table width="769" border="0" cellpadding="0" cellspacing="0">
  <!--DWLayoutTable-->
  <tr bgcolor="#FEFE00">
    <td height="185" colspan="3" valign="top"><img src="../images/devices/t1.gif" width="760" height="185" border="0" usemap="#Map"></td>
  </tr>
  <tr>
    <td width="102" rowspan="4" valign="top" background="../images/bg/Eivyruletrans.gif"><table border="0" cellpadding="0" cellspacing="0">
        <!--DWLayoutTable-->
        <tr>
          <td width="102" height="51">&nbsp;</td>
        </tr>
        <tr>
          <td height="51" valign="top"><a href="../officers.htm" target="_top" onClick="MM_nbGroup('down','group1','Officers','',1)" onMouseOver="MM_nbGroup('over','Officers','','',1)" onMouseOut="MM_nbGroup('out')"><img src="../images/btns/officers.gif" alt="" name="Officers" width="102" height="51" border="0" onload=""></a></td>
        </tr>
        <tr>
          <td height="51" valign="top"><a href="../news.htm" target="_top" onClick="MM_nbGroup('down','group1','news','',1)" onMouseOver="MM_nbGroup('over','news','','',1)" onMouseOut="MM_nbGroup('out')"><img src="../images/btns/news.gif" alt="" name="news" width="102" height="51" border="0" onload=""></a></td>
        </tr>
        <tr>
          <td height="51" valign="top"><a href="../events.htm" target="_top" onClick="MM_nbGroup('down','group1','events','',1)" onMouseOver="MM_nbGroup('over','events','','',1)" onMouseOut="MM_nbGroup('out')"><img src="../images/btns/evants.gif" alt="" name="events" width="102" height="51" border="0" onload=""></a></td>
        </tr>
        <tr>
          <td height="51" valign="top"><a href="../guilds.htm" target="_top" onClick="MM_nbGroup('down','group1','guilds','',1)" onMouseOver="MM_nbGroup('over','guilds','','',1)" onMouseOut="MM_nbGroup('out')"><img src="../images/btns/guilds.gif" alt="" name="guilds" width="102" height="50" border="0" onload=""></a></td>
        </tr>
        <tr>
          <td height="51" valign="top"><a href="../elists.htm" target="_top" onClick="MM_nbGroup('down','group1','elists','',1)" onMouseOver="MM_nbGroup('over','elists','','',1)" onMouseOut="MM_nbGroup('out')"><img src="../images/btns/elists.gif" alt="" name="elists" width="102" height="50" border="0" onload=""></a></td>
        </tr>
        <tr>
          <td height="133">&nbsp;</td>
        </tr>
    </table></td>
    <td width="564" height="15" valign="top"><div align="center"><span class="style7">Devises above are links also. </span></div></td>
    <td width="103" rowspan="4" valign="top" background="../images/bg/Eivyruletrans2.gif"><div align="left"></div></td>
  </tr>
  <tr>
    <td height="9"></td>
  </tr>
  <tr>
    <td height="355" valign="top" bgcolor="#FFFFFF"><div align="center">
        <form action="<?php echo $editFormAction; ?>" name="form1" method="POST">
          <input name="numofrows" type="hidden" id="numofrows" value="<?php echo $_GET['numofrows']; ?>">
          <input name="new" type="hidden" id="new" value="<?php echo $_GET['new']; ?>">
        <input name="id" type="hidden" id="id" value="<?php echo $row_Recordset1['id']; ?>">
        <input type="hidden" name="MM_update" value="form1">
        </form>
        <p align="center" class="style3">&nbsp;<?php echo $totalRows_Recordset1 ?> </p>
        </div></td>
  </tr>
  <tr>
    <td height="60" valign="top" bgcolor="#FFFF01"><div align="center"><a href="http://www.northshield.org/"> Kingdom of Northshield</a> | <a href="http://www.jararvellir.org/">Barrony of Jararvellr</a> | <a href="http://sca.org">SCA</a> |    <a href="../disclimer.htm">Disclaimer</a><br>
    <a href="mailto:marcus@dooleyfam.com?cc=cte71259@centurytel.net&subject=Website%20Email%20(Webminister)">Email the Webminister</a> </div></td>
  </tr>
</table>
<map name="Map">
  <area shape="rect" coords="199,9,250,69" href="http://www.sca.org">
  <area shape="rect" coords="354,6,404,65" href="http://www.northshield.org/">
  <area shape="rect" coords="514,12,565,69" href="http://www.jararvellir.org/">
  <area shape="rect" coords="15,12,134,148" href="../index.htm">
  <area shape="rect" coords="641,13,758,152" href="../index.htm">
</map>
</body>
</html>
<?php
mysql_free_result($Recordset1);
?>
0
 
LVL 1

Author Comment

by:wgws
ID: 13605414
Sweet ......It worked. I had to move my recordset all the way to the top and it worked.
Thank you for working with me on this.
0
 
LVL 1

Author Comment

by:wgws
ID: 13605421
I guess your right 500 max I can set up more posts so you can get your points.
0
 
LVL 32

Expert Comment

by:Batalf
ID: 13605432
Glad I could help!

Batalf
0
 
LVL 32

Expert Comment

by:Batalf
ID: 13605440
No, 500 points is more than enough. Use it on other questions:-)

Batalf
0
 
LVL 1

Author Comment

by:wgws
ID: 13605465
Again, Thank you.
0
 
LVL 32

Expert Comment

by:Batalf
ID: 13605475
No problem!

Thanks for the points!
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
It’s a season to be thankful, and we’re thankful for users like you who engage on site, solve technology problems, and network with others in the industry. What tech are we most thankful for? Keep reading.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Suggested Courses
Course of the Month15 days, 10 hours left to enroll

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question