Jump to content


  • Posts

  • Joined

  • Last visited

Posts posted by coolpriya073

  1. Sorry for that, i did it because it also has XML. Really Sorry.


    What i was trying to do is read the values of Status and Redirect URL is Response


    $Response = <Serivce>


    But when i try to do it using



    $xmlDoc = new DOMDocument();
    	$x = $xmlDoc-­>getElementsByTagName("Serivce");
    	$results = array();
    	foreach($x as $item)
    		$res = array();
    			foreach($item‐>childNodes as $i)
    				echo "Node Name - ".$i->nodeName."<br>";
    				echo "Node Value - ".$i->nodeValue."<br>";
    				$res[$i->nodeName] = $i->nodeValue;
    		$results[] = $res;




    After running this code i was getting




    If there was only 1 child nodes it gives correct output. But when there is Nested Child Nodes it become a problem.


    Please advice me how to solve this

  2. cant figure out anything from this.


    do 1 thing. set border to you main div and inner divs, left and right(which is coming down after the last post)


    you will be able to identify the difference.


    and check whether its in all the browser or some specific..there can be a difference because of margin and padding also..

  3. hi,


    what you can do is just create a separate folder for members and admin..and separate table for both login, keep it clean for long run


    member will use the session as


      // If the session vars aren't set, try to set them with a cookie
      if (!isset($_SESSION['user_id'])) 
        if (isset($_COOKIE['user_id']) && isset($_COOKIE['username'])) 						 	{
          $_SESSION['user_id'] = $_COOKIE['user_id'];
          $_SESSION['username'] = $_COOKIE['username'];


    and admin as


      // If the session vars aren't set, try to set them with a cookie
      if (!isset($_SESSION['admin_id'])) 
        if (isset($_COOKIE['admin_id']) && isset($_COOKIE['adminuser'])) 						 	{
          $_SESSION['admin_id'] = $_COOKIE['admin_id'];
          $_SESSION['adminuser'] = $_COOKIE['adminuser'];


    Note: make sure the difference in cookie 

  4. hi,


    Reset your styles, commonly referred as CSS Reset or Reset CSS is the process of resetting (or more accurately – setting) the styles of all elements to a baseline value so that you avoid cross-browser differences due to their built-in default style settings. By resetting your styles, you avoid defaulting to the browser’s built-in styles, which differs from browser to browser.

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.