Jump to content

parsing from url


alohatofu

Recommended Posts

i think you mean

 

<?php
echo "<a href='http://sometime.com/page.php?eric={$objTask->p['eric']}&cuoos={$objTask->p['cuoos']}&clli={$objTask->p['clli']}' click here </a>"
?>

 

i am assuming its an array so $objTask->p['eric'] and not $objTask->p('eric')

 

page.php

echo $_GET['eric']."<br>";
echo $_GET['cuoos']."<br>";
echo $_GET['clli']."<br>";

Link to comment
https://forums.phpfreaks.com/topic/47552-parsing-from-url/#findComment-232082
Share on other sites

thanks for the reply but that didnt' work for me.

 

Ok please allow me to explain further

 

sample code from page:

        <div id="ftitl">
    	    <div class="flabel"><?php echo $GLOBALS['langForm']['eric']; ?></div>
		<div id="vtitl"><?php
			$objTask->p('eric');
		?></div>
        </div>

 

here is my link on page view.php

<a href="javascript:popUp('sendpageadvisory.php')"><font color="orange"><?php echo $GLOBALS['langTaskDetails']['sendadvisorypage']; ?></font></a>

 

sendadvisory.php is a popup window.  I want to pull $objTask->p('eric') and $objTask->p('cuoos')  and $objTask->p('clli') to the sendpageadvisory.php page.

 

I really appreciate the help

Link to comment
https://forums.phpfreaks.com/topic/47552-parsing-from-url/#findComment-232122
Share on other sites


		<?php
			if ( ($objTask->cuoos) >= 8 && ($objTask->priority) ==2) {
			?>
			<li id="tpage"><a href="javascript:popUp('<?php echo "sendpageadvisory.php?eric=".$objTask->p('eric') ?>')"><font color="orange"><?php echo $GLOBALS['langTaskDetails']['sendadvisorypage']; ?></font></a>
			<?php
			} elseif ( ($objTask->cuoos) >= 64 ||($objTask->priority) ==1) {
			?>
			<li id="tpage"><a href="javascript:popUp('sendpageoutage.html')"><font color="red"><?php echo $GLOBALS['langTaskDetails']['sendoutagepage']; ?></font></a>
			<?php
			}
			else {
			}
		?>

Link to comment
https://forums.phpfreaks.com/topic/47552-parsing-from-url/#findComment-232142
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.