J
|
Jane 6/18/2008 |
Hi, $str = "<input type=button value=search onclick=\"window.open('URL');\">"
|
B
|
bochaka author 6/18/2008 |
So how would the code look if i my url is http://www.123.com and the current view.php page is for a dog (in a table called studdogs, field name dogsname )named rex and I want to search a table called litters which has a field called sires, for a dog named rex whose view page is currently being displayed. Sorry about this but my code skills are not great |
J
|
Jane 6/19/2008 |
Hi, global $conn; if (@$_REQUEST["editid1"]) { $rs = db_query("select dogsname from studdogs where RecordID=".$_REQUEST["editid1"],$conn); $data = db_fetch_array($rs); }
|
B
|
bochaka author 6/19/2008 |
Hi Jane |
J
|
Jane 6/20/2008 |
Hi, |
B
|
bochaka author 6/23/2008 |
Hi Jane |
J
|
Jane 6/24/2008 |
Hi, $str = "<input type=button value=search onclick=\"window.open('www.germanshepherdpups.ie/gsddb1/_litters_list.php?a=search&value=1&SearchFor=&SearchOption=Equals&SearchField=sire';);\">"; global $conn; if (@$_REQUEST["editid1"]) { $rs = db_query("select sired by from _studdogs where RecordID=".$_REQUEST["editid1"],$conn); $data = db_fetch_array($rs); } |
B
|
bochaka author 6/24/2008 |
Hi Jane |
J
|
Jane 6/24/2008 |
Send direct link to your pages to support@xlinesoft.com. |