SkyRanger Posted May 8, 2007 Author Share Posted May 8, 2007 ~bump~ Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted May 8, 2007 Share Posted May 8, 2007 at a complete loss - I can see no reason why it don't do as it should. Quote Link to comment Share on other sites More sharing options...
SkyRanger Posted May 9, 2007 Author Share Posted May 9, 2007 After doing allot of research today, it is actually a glitch in IE6/7 that is causing this problem. Micro(Soft)Virus has to get off there butt and get this fixed.  So now that the glitch has been discovered, thread is marked solved. Quote Link to comment Share on other sites More sharing options...
obsidian Posted May 9, 2007 Share Posted May 9, 2007 After doing allot of research today, it is actually a glitch in IE6/7 that is causing this problem. Micro(Soft)Virus has to get off there butt and get this fixed.  So now that the glitch has been discovered, thread is marked solved.  Care to link to the details of the glitch? I'm very curious since none of us seemed to run into it. Quote Link to comment Share on other sites More sharing options...
SkyRanger Posted May 9, 2007 Author Share Posted May 9, 2007 Yeah, I will refind it and post it, come to find out it only glitches when you do: Â file.php?id=1#anchor for some reason Quote Link to comment Share on other sites More sharing options...
SkyRanger Posted May 9, 2007 Author Share Posted May 9, 2007 Anybody else have this problem with anchors and IE? If so, how did you get it to work. Quote Link to comment Share on other sites More sharing options...
fenway Posted May 9, 2007 Share Posted May 9, 2007 After doing allot of research today, it is actually a glitch in IE6/7 that is causing this problem. Micro(Soft)Virus has to get off there butt and get this fixed.  So now that the glitch has been discovered, thread is marked solved. I don't believe it. Quote Link to comment Share on other sites More sharing options...
SkyRanger Posted May 10, 2007 Author Share Posted May 10, 2007 It true fenway, try doing an anchor when you have a variable in IE:  example: page.php?variable=1#anchor  and if it works for you, I will eat my words, plus I have other stuff in my code such as sessions/other and other else/if stuff throughout my page.  And if you can get it to work, for the love of God please tell me how you did it because this is driving me crazy.....lol Quote Link to comment Share on other sites More sharing options...
obsidian Posted May 10, 2007 Share Posted May 10, 2007 Nope, no problems with having a variable and anchor both in the URL... Here's a test script that will give you an alpha and numeric page with anchors to test:  <?php $content = isset($_GET['content']) ? $_GET['content'] : ''; switch($content) { case 'num': $anchors = array(); $out = ''; for ($i = 1 ; $i < 100; $i++) { $anc = "mark_$i"; $anchors[] = "<a href=\"#$anc\">$i</a>"; $out .= "<div id=\"$anc\">$i</div>\n"; } break; default: $anchors = array(); $out = ''; for ($i = 'a' ; $i < 'z'; $i++) { $anc = "mark_$i"; $anchors[] = "<a href=\"#$anc\">$i</a>"; $out .= "<div class=\"division\" id=\"$anc\">\n"; $out .= "<h1>$i Div</h1>\n"; $out .= "</div>\n"; } } ?> Menu: <ul> <li><a href="?content=alpha">alpha</a></li> <li><a href="?content=num">num</a></li> </ul> <hr /> <?php echo "<p>" . implode(" | ", $anchors) . "</p>\n"; echo $out; ?>  Works great in both FF and IE6. Quote Link to comment Share on other sites More sharing options...
obsidian Posted May 10, 2007 Share Posted May 10, 2007 plus I have other stuff in my code such as sessions/other and other else/if stuff throughout my page.  The "other stuff" in your pages won't matter one lick to the browser's rendering of anchors. The anchor is internal to the browser only, and all the other things you mention are handled on the server. My guess is that if you are still having problems, you may not have your anchors spelled accurately. Quote Link to comment Share on other sites More sharing options...
igor berger Posted May 10, 2007 Share Posted May 10, 2007 Works fine for me, and really bad with spelling! Â http://www.travelconnecxion.com/hotels/country.php?hotel_country=United%20States&p=4#top_w Quote Link to comment Share on other sites More sharing options...
SkyRanger Posted May 10, 2007 Author Share Posted May 10, 2007 No they are spelled right, As I mentioned in an earlier post, it works no problem in FF and Opera, the problem I am having is IE. For some reason it does not like me at all. Quote Link to comment Share on other sites More sharing options...
SkyRanger Posted May 10, 2007 Author Share Posted May 10, 2007 Thanks obsidian tested that code and it worked awesome in IE like you said, so it has to be something in my code. Now I just have to figure out where the problem is.   Quote Link to comment Share on other sites More sharing options...
SkyRanger Posted May 10, 2007 Author Share Posted May 10, 2007 Here is my view page: Â Can you see the problem? Â view.php?oid=160&post_read=1#newpost <? include "../include/session.php"; if ($_SESSION['logged_in'] == '') $loggedin = $_SESSION['username']; Â if($session-> userlevel >= 4 && $session-> userlevel <= 9) { include "header.inc"; include "inc/dbinfo.inc.php"; $connection=mysql_connect ("$dblocation", "$dbusername", "$dbpassword") or die ('I cannot connect to the database because: ' . mysql_error()); Â Â Â Â mysql_select_db ("$dbname"); Â Â Â Â Â Â Â Â //set up the query if ($post_read){ $insert=mysql_query("insert into posts_read values ('".$oid."','".$logged."','1')") or die(mysql_error()); } $resulto1 = mysql_query( "SELECT users.*, office.* ". "FROM users, office ". Â Â Â Â "WHERE users.id = office.omid and oid='$oid'") or die( "Unable to select database"); Â Â Â Â Â Â Â Â $wordnum = mysql_num_rows( $resulto1 ); while( $rowo1 = mysql_fetch_array( $resulto1 ) ) { $o1title = $rowo1["otitle"]; $o1omsg = $rowo1["omsg"]; $o1usr = $rowo1["firstpost"]; $o1muname = htmlentities($rowo1["fname"]); $o1date = $rowo1["odate"]; $id = $rowo1['id']; } ?> <table width="700" border="0" class="forumtext"> <tr> Â Â <td colspan="3" background="images/stripeybar4.jpg"> Â Â <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="700"> Â Â Â <tr> Â Â Â Â <td width="18">Â </td> Â Â Â Â <td width="73"><a class="barlink" href="officereplypost.php?oid=<?=$oid; ?>">Reply</a></td> Â Â Â Â <td width="72"><? if($o1usr == $logged){ Â Â Â Â echo "<a class=\"barlink\" href=\"officeeditpost.php?oid={$oid}\">Edit</a>"; }else{ Â Â Â Â echo "<div class=\"barlink2\">Edit</div>"; } Â Â Â Â Â Â Â Â ?> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â </td> Â Â Â Â <td width="456"><? if($o1usr == $logged){ Â Â Â Â echo "<a class=\"barlink\" href=\"officepostdelete.php?oid={$oid}\">Delete</a>"; }else{ Â Â Â Â echo "<div class=\"barlink2\">Delete</div>"; } Â Â Â Â Â Â Â Â ?></td> Â Â Â Â <td width="83"><a class="barlink" href="officepostreort.php?oid=<?=$oid; ?>">Report</a></td> Â Â </tr> Â Â </table>Â Â </td> Â </tr> Â <tr> Â Â <td width="20%" rowspan="2" valign="top"><br /><?=$o1muname; ?><br /> <? Â Â Â Â $sqlopm = mysql_query("select * from users where fname='$o1muname'"); Â Â Â Â $wordnum = mysql_num_rows( $sqlopm ); Â Â Â Â while( $rowop = mysql_fetch_array( $sqlopm ) ) { Â Â Â Â $opmsrank = $rowop["srank"]; Â Â Â Â $opmuname = $rowop["fname"]; } switch ($opmsrank) { Â case 'Admin': Â Â $osprank1 = "<font size=\"1\" color=\"Red\">Admin</font>"; Â Â break; Â case 'Founder': Â Â $osprank1 = "<font size=\"1\" color=\"Blue\">Founding Member</font>"; Â Â break; Â case '': Â Â $osprank1 = "<font size=\"1\">Member</font>"; Â Â break; Â } Â echo $osprank1; Â Â Â Â ?>Â Â Â Â Â Â Â <br /> Â Â Â Â <a class="biolink" href="memberbio.php?fname=<?=$o1muname; ?>">Bio</a> Â Â Â Â <br /><br /> Â Â Â Â <? Â Â Â Â Â Â Â Â echo "<font size=\"1\">Posts: "; Â Â Â Â //#of posts start $queryoco = "SELECT COUNT(*) FROM office where firstpost='$opmuname'"; $numanaloco = mysql_query($queryoco) or die("Select Failed!"); $numanaloo = mysql_fetch_array($numanaloco); $a = $numanaloo[0]; $querypco = "SELECT COUNT(*) FROM office_posts where omid='$id'"; $numanalpco = mysql_query($querypco) or die("Select Failed!"); $numanalopco = mysql_fetch_array($numanalpco); $b = $numanalopco[0]; $totalp = $a+$b; echo $totalp; echo "<br>"; ?> Â Â Â Â </td> Â Â <td><br /><strong><?=$o1title; ?></strong><br />Â </td> Â Â Â Â <td align="right" valign="top"><br /><?=$o1date; ?> Â </tr> Â <tr> Â Â <td colspan="2"><?=nl2br($o1omsg); ?><br /><br /></td> Â </tr> </table> <p></p> <p><div class="forumtext"> <strong>Replies: </strong><br /><br /> <? $resulto2 = mysql_query("SELECT users.*, office_posts.* ". "FROM users, office_posts ". Â Â Â Â "WHERE users.id = office_posts.omid and oid='$oid' and ostatus='Active' order by opid ASC") or die( "Unable to select database"); Â Â Â Â Â Â Â Â $wordnum = mysql_num_rows( $resulto2 ); echo "<table width=\"700\" border=\"0\" class=\"forumtext\" cellspacing=\"0\" cellpadding=\"0\">"; Â while( $rowo2 = mysql_fetch_array( $resulto2 ) ) { echo "<tr> Â Â <td background=\"images/stripeybar4.jpg\" colspan=\"3\"><table width=\"705\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"> Â Â Â <tr> Â Â Â Â <td width=\"18\">Â </td> Â Â Â Â <td width=\"73\"><a class=\"barlink\" href=\"officereplypostreply.php?opid=".$rowo2['opid']."\">Reply</a></td> Â Â Â Â <td width=\"72\">"; Â Â Â Â if($rowo2['fname'] == $logged){ Â Â Â Â echo "<a class=\"barlink\" href=\"officereplyeditpost.php?opid={$rowo2['opid']}\">Edit</a>"; }else{ Â Â Â Â echo "<div class=\"barlink2\">Edit</div>"; } Â Â Â Â #Â Â Â echo "<a class=\"barlink\" href=\"officereplypostedit.php\">Edit</a>"; Â Â Â Â Â Â Â Â echo "</td>"; echo "Â Â Â Â <td width=\"456\">"; if($rowo2['fname'] == $logged){ Â Â Â Â echo "<a class=\"barlink\" href=\"officereplypostdelete.php?opid={$rowo2['opid']}\">Delete</a>"; }else{ Â Â Â Â echo "<div class=\"barlink2\">Delete</div>"; } #echo "<a class=\"barlink\" href=\"officereplypostdelete.php\">Delete</a></td>"; echo "Â Â Â <td width=\"83\"><a class=\"barlink\" href=\"officereplypostreort.php\">Report</a></td> Â Â Â </tr> Â Â </table></td> Â </tr> Â <tr><a name=\"".$rowo2['opid']."\"></a> Â Â <td width=\"20%\" rowspan=\"3\" valign=\"top\"><br>".$rowo2['fname']."<br>"; $o2srank = $rowo2["srank"]; switch ($o2srank) { Â case 'Admin': Â Â $srank = "<font size=\"1\" color=\"Red\">Admin</font>"; Â Â break; Â case 'Founder': Â Â $srank = "<font size=\"1\" color=\"Blue\">Founding Member</font>"; Â Â break; Â case '': Â Â $srank = "<font size=\"1\">Member</font>"; Â Â break; Â } $id = $rowo2['id']; $fname = htmlentities($rowo2['fname']); echo $srank;Â Â echo "<br>Â Â Â <a class=\"biolink\" href=\"memberbio.php?fname=$fname\">Bio</a><br>"; Â Â Â Â echo "<br><font size=\"1\">Posts: "; Â Â Â Â Â Â Â Â //#of posts start $queryoc = "SELECT COUNT(*) FROM office where firstpost='$fname'"; $numanaloc = mysql_query($queryoc) or die("Select Failed!"); $numanalo = mysql_fetch_array($numanaloc); $x = $numanalo[0]; $querypc = "SELECT COUNT(*) FROM office_posts where omid='$id'"; $numanalpc = mysql_query($querypc) or die("Select Failed!"); $numanalopc = mysql_fetch_array($numanalpc); $y = $numanalopc[0]; $total = $x+$y; echo $total; Â Â Â Â echo "</font></td> Â Â <td width=\"52%\"></td> Â Â <td width=\"28%\" align=\"right\"><br>".$rowo2['odate']."</td> Â </tr> Â <tr> Â Â <td colspan=\"2\"><br>".nl2br($rowo2['omsg'])."<br><br><br></td> Â </tr> Â <tr> Â Â <td colspan=\"3\">Â </td> Â </tr>"; Â } echo "</table>"; echo "<div id=\"newpost\"></div>";Â //This is where the #newpost is suppose to go to, it does in FF and Opera include "footer.inc"; } else { header("Location: warning.php"); } ?> Quote Link to comment Share on other sites More sharing options...
igor berger Posted May 10, 2007 Share Posted May 10, 2007 Can you put a yrl to your problem page? Â No need to debug your PHP. Quote Link to comment Share on other sites More sharing options...
SkyRanger Posted May 10, 2007 Author Share Posted May 10, 2007 Unfortionatly, I cannot post the full URL to the problem page due to it being password protected and confidentiality. Our members go through a thorough screening process before they can have access to the site. Sorry. Quote Link to comment Share on other sites More sharing options...
igor berger Posted May 10, 2007 Share Posted May 10, 2007 Okay, generate an HTML source code and post it here! Â Unless, you do not want anyone of us to know your url. Quote Link to comment Share on other sites More sharing options...
SkyRanger Posted May 10, 2007 Author Share Posted May 10, 2007 The URL is no problem, it is http://www.prodcoscripts.com  Here is the html source:  <html> <head> <title>ProdCo Scripts</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link href="css/style.css" rel="stylesheet" type="text/css"> <SCRIPT LANGUAGE="JavaScript"> <!-- Begin function bioUp(URL) { day = new Date(); id = day.getTime(); eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,width=400,height=400');"); } // End --> </script> </head> <body><center> <table id="Table_01" width="850" height="273" border="0" cellpadding="0" cellspacing="0"> <tr> <td colspan="2" height="30" background="images/prodcotemplate3_01.gif"><table width="100%" border="0">    <tr>     <td class="headertext" width="50%" height="30" valign="middle">   "Dave" Test | <a class="header" href="preferences.php">Preferences</a> | <a class="header" href="../process.php">Logout</a></td>     <td class="headertext" width="50%"><div align="right">Thursday May 10, 2007   </div></td>    </tr>   </table></td> </tr> <tr> <td colspan="2" height="20" background="images/prodcotemplate3_02.gif"><table width="100%" border="0">    <tr>     <td width="60%" height="20" class="headertext">   You have 0 Screenplays in Workshop </td>     <td width="40%" class="headertext">      <div align="right">You Currently have 0 Scripts Listed for Sale   </div></td>    </tr>   </table></td> </tr> <tr> <td colspan="2" height="59"> <img src="images/prodcotemplate3_03.gif" width="850" height="59" alt=""></td> </tr> <tr> <td colspan="2" height="102"> <img src="images/prodcotemplate3_04.gif" width="850" height="102" alt=""></td> </tr> <tr> <td class="sidelinka" width="144" height="1" valign="top" background="images/problemsolver.jpg" bgcolor="#ffffff">  <a class="sidelink" href="index2.php">Member Area</a></td> <td width="706" height="22" background="images/prodcotemplate3_06.gif" valign="center"><p align="right" style="margin-right: 15; margin-top: -3"><a class="createthread" href="officepost.php">Create New Thread</a>  </td> </tr> <tr> <td width="144" height="230" valign="top" background="images/cellbackrepeata.gif">     <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" height="340">      <tr>       <td class="sidelinka" width="100%" background="images/prodcotemplate3_05a.gif" height="308" valign="top">   <a class="sidelink" href="office.php">The Office</a><br>      <a class="sidelink" href="membersfiles.php">File Section</a><br>      <a class="sidelink" href="officemembers.php">Office Members</a> <br><br>   <a class="sidelink" href="privatemessages.php">Message Center</a> (<a class="newmsg" href="privatemessages.php">3</a>) <br> <br>   <a class="sidelink" href="board.php">Discussion Area</a><br> <br>   Workshops<br> <br>   <a class="sidelink" href="jobboard.php">Job Board</a><br> <br>   <a class="sidelink" href="sales.php">Script Sales</a><br> <br>   <a class="sidelink" href="contests.php">Contests</a><br> <br>   <a class="sidelink" href="contact.php">Contact</a><br><br> </td>      </tr>      <tr>       <td width="100%" height="13" background="images/cellbackrepeata.gif">  <br>  <div class="whoon">  Members Online</div><br> <table align="left" border="0" cellspacing="0" cellpadding="0"> <tr><td><font size="2"> <div class="whoon">  "Dave" Test</div><div class="whoon">  Cathy Carson</div><div class="whoon">  Dave Ellis</div><div class="whoon">  Rebecca M. Ellis</div><div class="whoon">  Dianne Cameron</div><div class="whoon">  Hope Stang</div></font></td></tr></table><br> </td>      </tr>     </table>  </td> <td valign="top" background="images/prodcotemplate3_07.gif" height="26"><table width="700" border="0" class="forumtext"> <tr>   <td colspan="3" background="images/stripeybar4.jpg">   <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="700">    <tr>     <td width="18"> </td>     <td width="73"><a class="barlink" href="officereplypost.php?oid=145">Reply</a></td>     <td width="72"><div class="barlink2">Edit</div>                </td>     <td width="456"><div class="barlink2">Delete</div></td>     <td width="83"><a class="barlink" href="officepostreort.php?oid=145">Report</a></td>   </tr>   </table>  </td>  </tr>  <tr>   <td width="20%" rowspan="2" valign="top"><br />Dave Ellis<br /> <font size="1" color="Red">Admin</font>       <br />     <a class="biolink" href="memberbio.php?fname=Dave Ellis">Bio</a>     <br /><br />     <font size="1">Posts: 46<br>    </td>   <td><br /><strong>Do not post in</strong><br /> </td>     <td align="right" valign="top"><br />2007-05-04 14:37:00 </tr>  <tr>   <td colspan="2">This is my testing thread, please do not post in here<br /><br /></td>  </tr> </table> <p></p> <p><div class="forumtext"> <strong>Replies: </strong><br /><br /> <table width="700" border="0" class="forumtext" cellspacing="0" cellpadding="0"><tr>   <td background="images/stripeybar4.jpg" colspan="3"><table width="705" border="0" cellspacing="0" cellpadding="0">    <tr>     <td width="18"> </td>     <td width="73"><a class="barlink" href="officereplypostreply.php?opid=639">Reply</a></td>     <td width="72"><div class="barlink2">Edit</div></td>    <td width="456"><div class="barlink2">Delete</div>   <td width="83"><a class="barlink" href="officereplypostreort.php">Report</a></td>    </tr>   </table></td>  </tr>  <tr><a name="639"></a>   <td width="20%" rowspan="3" valign="top"><br>Dave Ellis<br><font size="1" color="Red">Admin</font><br>   <a class="biolink" href="memberbio.php?fname=Dave Ellis">Bio</a><br><br><font size="1">Posts: 46</font></td>   <td width="52%"></td>   <td width="28%" align="right"><br>2007-05-04 14:38</td>  </tr>  <tr>   <td colspan="2"><br>Anchor post test<br><br><br></td>  </tr>  <tr>   <td colspan="3"> </td>  </tr><tr>   <td background="images/stripeybar4.jpg" colspan="3"><table width="705" border="0" cellspacing="0" cellpadding="0">    <tr>     <td width="18"> </td>     <td width="73"><a class="barlink" href="officereplypostreply.php?opid=640">Reply</a></td>     <td width="72"><div class="barlink2">Edit</div></td>    <td width="456"><div class="barlink2">Delete</div>   <td width="83"><a class="barlink" href="officereplypostreort.php">Report</a></td>    </tr>   </table></td>  </tr>  <tr><a name="640"></a>   <td width="20%" rowspan="3" valign="top"><br>Dave Ellis<br><font size="1" color="Red">Admin</font><br>   <a class="biolink" href="memberbio.php?fname=Dave Ellis">Bio</a><br><br><font size="1">Posts: 46</font></td>   <td width="52%"></td>   <td width="28%" align="right"><br>2007-05-04 14:38</td>  </tr>  <tr>   <td colspan="2"><br>And again<br><br><br></td>  </tr>  <tr>   <td colspan="3"> </td>  </tr><tr>   <td background="images/stripeybar4.jpg" colspan="3"><table width="705" border="0" cellspacing="0" cellpadding="0">    <tr>     <td width="18"> </td>     <td width="73"><a class="barlink" href="officereplypostreply.php?opid=641">Reply</a></td>     <td width="72"><div class="barlink2">Edit</div></td>    <td width="456"><div class="barlink2">Delete</div>   <td width="83"><a class="barlink" href="officereplypostreort.php">Report</a></td>    </tr>   </table></td>  </tr>  <tr><a name="641"></a>   <td width="20%" rowspan="3" valign="top"><br>Dave Ellis<br><font size="1" color="Red">Admin</font><br>   <a class="biolink" href="memberbio.php?fname=Dave Ellis">Bio</a><br><br><font size="1">Posts: 46</font></td>   <td width="52%"></td>   <td width="28%" align="right"><br>2007-05-04 14:38</td>  </tr>  <tr>   <td colspan="2"><br>And again<br><br><br></td>  </tr>  <tr>   <td colspan="3"> </td>  </tr><tr>   <td background="images/stripeybar4.jpg" colspan="3"><table width="705" border="0" cellspacing="0" cellpadding="0">    <tr>     <td width="18"> </td>     <td width="73"><a class="barlink" href="officereplypostreply.php?opid=654">Reply</a></td>     <td width="72"><div class="barlink2">Edit</div></td>    <td width="456"><div class="barlink2">Delete</div>   <td width="83"><a class="barlink" href="officereplypostreort.php">Report</a></td>    </tr>   </table></td>  </tr>  <tr><a name="654"></a>   <td width="20%" rowspan="3" valign="top"><br>Dave Ellis<br><font size="1" color="Red">Admin</font><br>   <a class="biolink" href="memberbio.php?fname=Dave Ellis">Bio</a><br><br><font size="1">Posts: 46</font></td>   <td width="52%"></td>   <td width="28%" align="right"><br>2007-05-04 22:00</td>  </tr>  <tr>   <td colspan="2"><br>This is a test<br><br><br></td>  </tr>  <tr>   <td colspan="3"> </td>  </tr><tr>   <td background="images/stripeybar4.jpg" colspan="3"><table width="705" border="0" cellspacing="0" cellpadding="0">    <tr>     <td width="18"> </td>     <td width="73"><a class="barlink" href="officereplypostreply.php?opid=657">Reply</a></td>     <td width="72"><div class="barlink2">Edit</div></td>    <td width="456"><div class="barlink2">Delete</div>   <td width="83"><a class="barlink" href="officereplypostreort.php">Report</a></td>    </tr>   </table></td>  </tr>  <tr><a name="657"></a>   <td width="20%" rowspan="3" valign="top"><br>Dave Ellis<br><font size="1" color="Red">Admin</font><br>   <a class="biolink" href="memberbio.php?fname=Dave Ellis">Bio</a><br><br><font size="1">Posts: 46</font></td>   <td width="52%"></td>   <td width="28%" align="right"><br>2007-05-04 22:27</td>  </tr>  <tr>   <td colspan="2"><br>This is a new post test<br><br><br></td>  </tr>  <tr>   <td colspan="3"> </td>  </tr></table> <div id="newpost"></div> //Anchor </td>     </tr>   </table></center> <div align="center"><center><img border="0" src="images/mbar4.jpg" width="850" height="25"> <br> <b><font face="Verdana" size="1">Home | Terms of Use | My Account | Contact Us</font></b></center></div> </body> </html>   I tested just the HTML source as  http://www.prodcoscripts.com/members/test.html#newpost  and the anchor worked no problem in IE, but not sure why it will not work in php when I use the url:  http://www.prodcoscripts.com/members/view.php?oid=145#newpost  Which is the exact same page as the one I posted the code for? Quote Link to comment Share on other sites More sharing options...
igor berger Posted May 10, 2007 Share Posted May 10, 2007 I tested it in FrontPage and it works no problem!  You may want to check your IE Internet option for securety and Advanced, set them to defult.  Why don't ask your members, who have access to your secure page to test is in IE.  <html> <head> <title>ProdCo Scripts</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link href="css/style.css" rel="stylesheet" type="text/css"> <SCRIPT LANGUAGE="JavaScript"> <!-- Begin function bioUp(URL) { day = new Date(); id = day.getTime(); eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,width=400,height=400');"); } // End --> </script> </head> <body><center> <table id="Table_01" width="850" height="273" border="0" cellpadding="0" cellspacing="0"> <tr> <td colspan="2" height="30" background="images/prodcotemplate3_01.gif"><table width="100%" border="0">    <tr>     <td class="headertext" width="50%" height="30" valign="middle">   "Dave" Test | <a class="header" href="preferences.php">Preferences</a> | <a class="header" href="../process.php">Logout</a></td>     <td class="headertext" width="50%"><div align="right">Thursday May 10, 2007   </div></td>        </tr>   </table></td> </tr> <tr> <td colspan="2" height="20" background="images/prodcotemplate3_02.gif"><table width="100%" border="0">    <tr>     <td width="60%" height="20" class="headertext">   You have 0 Screenplays in Workshop </td>     <td width="40%" class="headertext">      <div align="right">You Currently have 0 Scripts Listed for Sale   </div></td>    </tr>   </table></td> </tr> <tr> <td colspan="2" height="59"> <img src="images/prodcotemplate3_03.gif" width="850" height="59" alt=""></td> </tr> <tr> <td colspan="2" height="102"> <img src="images/prodcotemplate3_04.gif" width="850" height="102" alt=""></td> </tr> <tr> <td class="sidelinka" width="144" height="1" valign="top" background="images/problemsolver.jpg" bgcolor="#ffffff">  <a class="sidelink" href="index2.php">Member Area</a></td> <td width="706" height="22" background="images/prodcotemplate3_06.gif" valign="center"><p align="right" style="margin-right: 15; margin-top: -3"><a class="createthread" href="officepost.php">Create New Thread</a>  </td> </tr> <tr> <td width="144" height="230" valign="top" background="images/cellbackrepeata.gif">     <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" height="340">      <tr>       <td class="sidelinka" width="100%" background="images/prodcotemplate3_05a.gif" height="308" valign="top">   <a class="sidelink" href="office.php">The Office</a><br>      <a class="sidelink" href="membersfiles.php">File Section</a><br>      <a class="sidelink" href="officemembers.php">Office Members</a> <br><br>   <a class="sidelink" href="privatemessages.php">Message Center</a> (<a class="newmsg" href="privatemessages.php">3</a>) <br> <br>   <a class="sidelink" href="board.php">Discussion Area</a><br> <br>   Workshops<br> <br>   <a class="sidelink" href="jobboard.php">Job Board</a><br> <br>   <a class="sidelink" href="sales.php">Script Sales</a><br> <br>   <a class="sidelink" href="contests.php">Contests</a><br> <br>   <a class="sidelink" href="contact.php">Contact</a><br><br> </td>      </tr>      <tr>       <td width="100%" height="13" background="images/cellbackrepeata.gif">  <br>  <div class="whoon">  Members Online</div><br> <table align="left" border="0" cellspacing="0" cellpadding="0"> <tr><td><font size="2"> <div class="whoon">  "Dave" Test</div><div class="whoon">  Cathy Carson</div><div class="whoon">  Dave Ellis</div><div class="whoon">  Rebecca M. Ellis</div><div class="whoon">  Dianne Cameron</div><div class="whoon">  Hope Stang</div></font></td></tr></table><br> </td>      </tr>     </table>  </td> <td valign="top" background="images/prodcotemplate3_07.gif" height="26"><table width="700" border="0" class="forumtext"> <tr>   <td colspan="3" background="images/stripeybar4.jpg">   <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="700">    <tr>     <td width="18"> </td>     <td width="73"><a class="barlink" href="officereplypost.php?oid=145">Reply</a></td>     <td width="72"><div class="barlink2">Edit</div>                </td>     <td width="456"><div class="barlink2">Delete</div></td>     <td width="83"><a class="barlink" href="officepostreort.php?oid=145">Report</a></td>   </tr>   </table>  </td>  </tr>  <tr>   <td width="20%" rowspan="2" valign="top"><br />Dave Ellis<br /> <font size="1" color="Red">Admin</font>       <br />     <a class="biolink" href="memberbio.php?fname=Dave Ellis">Bio</a>     <br /><br />     <font size="1">Posts: 46<br>    </td>   <td><br /><strong><a href="?test+5#newpost">Do not post in</a></strong><br /> </td> ///////////////link to anchor////     <td align="right" valign="top"><br />2007-05-04 14:37:00 </tr>  <tr>   <td colspan="2">This is my testing thread, please do not post in here<br /><br /></td>  </tr> </table> <p></p> <p><div class="forumtext"> <strong>Replies: </strong><br /><br /> <table width="700" border="0" class="forumtext" cellspacing="0" cellpadding="0"><tr>   <td background="images/stripeybar4.jpg" colspan="3"><table width="705" border="0" cellspacing="0" cellpadding="0">    <tr>     <td width="18"> </td>     <td width="73"><a class="barlink" href="officereplypostreply.php?opid=639">Reply</a></td>     <td width="72"><div class="barlink2">Edit</div></td>    <td width="456"><div class="barlink2">Delete</div>   <td width="83"><a class="barlink" href="officereplypostreort.php">Report</a></td>    </tr>   </table></td>  </tr>  <tr><a name="639"></a>   <td width="20%" rowspan="3" valign="top"><br>Dave Ellis<br><font size="1" color="Red">Admin</font><br>   <a class="biolink" href="memberbio.php?fname=Dave Ellis">Bio</a><br><br><font size="1">Posts: 46</font></td>   <td width="52%"></td>   <td width="28%" align="right"><br>2007-05-04 14:38</td>  </tr>  <tr>   <td colspan="2"><br>Anchor post test<br><br><br></td>  </tr>  <tr>   <td colspan="3"> </td>  </tr><tr>   <td background="images/stripeybar4.jpg" colspan="3"><table width="705" border="0" cellspacing="0" cellpadding="0">    <tr>     <td width="18"> </td>     <td width="73"><a class="barlink" href="officereplypostreply.php?opid=640">Reply</a></td>     <td width="72"><div class="barlink2">Edit</div></td>    <td width="456"><div class="barlink2">Delete</div>   <td width="83"><a class="barlink" href="officereplypostreort.php">Report</a></td>    </tr>   </table></td>  </tr>  <tr><a name="640"></a>   <td width="20%" rowspan="3" valign="top"><br>Dave Ellis<br><font size="1" color="Red">Admin</font><br>   <a class="biolink" href="memberbio.php?fname=Dave Ellis">Bio</a><br><br><font size="1">Posts: 46</font></td>   <td width="52%"></td>   <td width="28%" align="right"><br>2007-05-04 14:38</td>  </tr>  <tr>   <td colspan="2"><br>And again<br><br><br></td>  </tr>  <tr>   <td colspan="3"> </td>  </tr><tr>   <td background="images/stripeybar4.jpg" colspan="3"><table width="705" border="0" cellspacing="0" cellpadding="0">    <tr>     <td width="18"> </td>     <td width="73"><a class="barlink" href="officereplypostreply.php?opid=641">Reply</a></td>     <td width="72"><div class="barlink2">Edit</div></td>    <td width="456"><div class="barlink2">Delete</div>   <td width="83"><a class="barlink" href="officereplypostreort.php">Report</a></td>    </tr>   </table></td>  </tr>  <tr><a name="641"></a>   <td width="20%" rowspan="3" valign="top"><br>Dave Ellis<br><font size="1" color="Red">Admin</font><br>   <a class="biolink" href="memberbio.php?fname=Dave Ellis">Bio</a><br><br><font size="1">Posts: 46</font></td>   <td width="52%"></td>   <td width="28%" align="right"><br>2007-05-04 14:38</td>  </tr>  <tr>   <td colspan="2"><br>And again<br><br><br></td>  </tr>  <tr>   <td colspan="3"> </td>  </tr><tr>   <td background="images/stripeybar4.jpg" colspan="3"><table width="705" border="0" cellspacing="0" cellpadding="0">    <tr>     <td width="18"> </td>     <td width="73"><a class="barlink" href="officereplypostreply.php?opid=654">Reply</a></td>     <td width="72"><div class="barlink2">Edit</div></td>    <td width="456"><div class="barlink2">Delete</div>   <td width="83"><a class="barlink" href="officereplypostreort.php">Report</a></td>    </tr>   </table></td>  </tr>  <tr><a name="654"></a>   <td width="20%" rowspan="3" valign="top"><br>Dave Ellis<br><font size="1" color="Red">Admin</font><br>   <a class="biolink" href="memberbio.php?fname=Dave Ellis">Bio</a><br><br><font size="1">Posts: 46</font></td>   <td width="52%"></td>   <td width="28%" align="right"><br>2007-05-04 22:00</td>  </tr>  <tr>   <td colspan="2"><br>This is a test<br><br><br></td>  </tr>  <tr>   <td colspan="3"> </td>  </tr><tr>   <td background="images/stripeybar4.jpg" colspan="3"><table width="705" border="0" cellspacing="0" cellpadding="0">    <tr>     <td width="18"> </td>     <td width="73"><a class="barlink" href="officereplypostreply.php?opid=657">Reply</a></td>     <td width="72"><div class="barlink2">Edit</div></td>    <td width="456"><div class="barlink2">Delete</div>   <td width="83"><a class="barlink" href="officereplypostreort.php">Report</a></td>    </tr>   </table></td>  </tr>  <tr><a name="657"></a>   <td width="20%" rowspan="3" valign="top"><br>Dave Ellis<br><font size="1" color="Red">Admin</font><br>   <a class="biolink" href="memberbio.php?fname=Dave Ellis">Bio</a><br><br><font size="1">Posts: 46</font></td>   <td width="52%"></td>   <td width="28%" align="right"><br>2007-05-04 22:27</td>  </tr>  <tr>   <td colspan="2"><br>This is a new post test<br><br><br></td>  </tr>  <tr>   <td colspan="3"> </td>  </tr></table> <div id="newpost"></div> //Anchor </td>     </tr>   </table></center> <div align="center"><center><img border="0" src="images/mbar4.jpg" width="850" height="25"> <br> <b><font face="Verdana" size="1">Home | Terms of Use | My Account | Contact Us</font></b></center></div> </body> </html> Quote Link to comment Share on other sites More sharing options...
SkyRanger Posted May 10, 2007 Author Share Posted May 10, 2007 Yeah, done that already which is totally confusing me. It doesn't work for anybody who is using IE Quote Link to comment Share on other sites More sharing options...
SkyRanger Posted May 10, 2007 Author Share Posted May 10, 2007 Ok, starting to fix problem with IE, I have it working in 1 page (view1.php), now trying to get it to work with other page(view.php). Quote Link to comment Share on other sites More sharing options...
SkyRanger Posted May 10, 2007 Author Share Posted May 10, 2007 Ok, still working out the bugs, I have it working on some links and not others, weird thing is they are all the same link except for the ?id=# Quote Link to comment Share on other sites More sharing options...
obsidian Posted May 10, 2007 Share Posted May 10, 2007 Ok, still working out the bugs, I have it working on some links and not others, weird thing is they are all the same link except for the ?id=# Â Does it happen on lines where the id= is empty like you have just shown? Quote Link to comment Share on other sites More sharing options...
SkyRanger Posted May 10, 2007 Author Share Posted May 10, 2007 No, I just put ?id=# to specify # as being any number. Â I think my script is possessed...lol Quote Link to comment Share on other sites More sharing options...
SkyRanger Posted May 11, 2007 Author Share Posted May 11, 2007 I give up, It works when it wants to which is about 1% of the time. Thanks guys for all of your help Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.