pegasos Posted December 29, 2010 Share Posted December 29, 2010 how can i pass more then one value via href with this kind of method echo "<a href=\"submit_docs.php?prop_id=".$prop_id."\">Click </a>"; tnx Quote Link to comment Share on other sites More sharing options...
the182guy Posted December 29, 2010 Share Posted December 29, 2010 Just use the & sign echo "<a href=\"submit_docs.php?prop_id=".$prop_id."&test=" . $test . "\">Click </a>"; Quote Link to comment Share on other sites More sharing options...
pegasos Posted December 29, 2010 Author Share Posted December 29, 2010 tnx for the replay but can u help me with this kind of value ?? echo "<a href=\"javascript: window.open('barmizva.php', 'window_name', 'width = 50, height = 50');&havecritiq=".$exist."\">link</a>"; its a javascript popup and a havecritiq value send but its not working can you direct me ?? Quote Link to comment Share on other sites More sharing options...
the182guy Posted December 29, 2010 Share Posted December 29, 2010 Are you trying to do.... echo "<a href="#" onclick=\"javascript: window.open('barmizva.php?havecritiq=" . $exist . "', 'window_name', 'width = 50, height = 50'); return false;"\">link</a>"; Quote Link to comment Share on other sites More sharing options...
pegasos Posted December 29, 2010 Author Share Posted December 29, 2010 yes but what that you wrot is gives an error Quote Link to comment Share on other sites More sharing options...
the182guy Posted December 29, 2010 Share Posted December 29, 2010 echo "<a href=\"#\" onclick=\"javascript: window.open('barmizva.php?havecritiq=" . $exist . "', 'window_name', 'width = 50, height = 50'); return false;">link</a>"; You shouldn't really stick it all on the <a> tag like that, very difficult to read and debug. Quote Link to comment Share on other sites More sharing options...
pegasos Posted December 30, 2010 Author Share Posted December 30, 2010 tnx man you are the best 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.