Solved

anchor tags not working

Posted on 2011-09-16
12
285 Views
Last Modified: 2012-05-12
I am using qnchor tags in that and sometime it works and sometime it is not working. I am not getting solution that y it is not working. Plz help me out that what is the problem
0
Comment
Question by:savsoft
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
  • 2
  • +1
12 Comments
 
LVL 40

Expert Comment

by:gurvinder372
ID: 36553266
need more info.. share the live internet link or the code base which is not working
0
 
LVL 31

Expert Comment

by:Marco Gasi
ID: 36553270
Please, post your code.
0
 

Author Comment

by:savsoft
ID: 36553273
We are developing a search engine but some links are not working.....

So just go through it

www.labbo22.com 

and search anything.......... Its working fine with IE but Not with XMPHTTP browser.. plz try and reply
0
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 
LVL 40

Expert Comment

by:gurvinder372
ID: 36553290
which links are not working?
0
 

Author Comment

by:savsoft
ID: 36553295
Actually when i get login to my account then searched links are not working...is there any problem with sessions?
0
 
LVL 40

Expert Comment

by:gurvinder372
ID: 36553345
I am able to click at the search link even in firefox 2.
0
 
LVL 110

Expert Comment

by:Ray Paseur
ID: 36554291
...is there any problem with sessions?

No, not if you use the PHP session handler correctly.  Here are the guidelines:

1. Put session_start() at the top of every page (this means unconditional execution as the first element of every script).

2. Add data to the $_SESSION array with assignment operators, like this:

    $_SESSION["cheese"] = 'Cheddar';

3. The $_SESSION array will be available and mutable in every scope and namespace.  This will be true whether or not you have used session_start().  But if you have not used session_start() the data you put into the $_SESSION array will not be there on the next page request.  This is a silent failure.  To avoid this problem, use session_start() right at the top.

In case you are not sure if your server's session handler is working correctly, you can run this little script to test it.
<?php // RAY_session_test.php
error_reporting(E_ALL);


// DEMONSTRATE HOW PHP SESSIONS WORK
// MAN PAGE HERE: http://php.net/manual/en/function.session-start.php


// START THE SESSION (DO THIS FIRST, UNCONDITIONALLY, IN EVERY PHP SCRIPT ON EVERY PAGE)
session_start();

// INITIALIZE THE SESSION ARRAY TO SET A DEFAULT VALUE
if (empty($_SESSION["cheese"])) $_SESSION["cheese"] = 1;

// SEE IF THE CORRECT SUBMIT BUTTON WAS CLICKED
if (isset($_POST['fred']))
{
    // ADD ONE TO THE CHEESE
    $_SESSION['cheese']++;
}

// RECOVER THE CURRENT VALUE FROM THE SESSION ARRAY
$cheese = $_SESSION['cheese'];


// END OF PROCESSING SCRIPT - CREATE THE FORM USING HEREDOC NOTATION
$form = <<<ENDFORM
<html>
<head>
<title>Session Test</title>
</head>
<body>
Currently, SESSION["cheese"] contains: $cheese<br/>
<form method="post">
<input type="submit" value="increment this cheese" name="fred"  />
<input type="submit" value="leave my cheese alone" name="john" />
</form>
</body>
</html>
ENDFORM;

echo $form;

Open in new window

0
 

Author Comment

by:savsoft
ID: 36558065
session working fine but anchor tag doesn't work after login
0
 
LVL 40

Expert Comment

by:gurvinder372
ID: 36558416
please share the login credentials, so that i can login and see the problem
0
 
LVL 110

Expert Comment

by:Ray Paseur
ID: 36559840
session working fine but anchor tag doesn't work after login

This is not enough information for us to help in any way at all.  The question might as well be, "my plant won't grow."  And we do not know what kind of plant, whether it is in the soil, whether it has been watered, or frozen, etc...

To help you we will need to see your data, your program code and your test cases.  Please post those things here.  Thanks, ~Ray
0
 

Accepted Solution

by:
savsoft earned 0 total points
ID: 36585477
That was due to hidden div which was overlaping ancher tag...
0
 

Author Closing Comment

by:savsoft
ID: 36708172
We found reason behind my problem outside experts-exchange so i provide information and closing by accepting my comment as answer
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
This article discusses how to implement server side field validation and display customized error messages to the client.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

733 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