T
|
thesofa 12/11/2008 |
Just a few thoughts about database design that might help |
T
|
thesofa 12/11/2008 |
tried it and made it simpler, just have one table and 2 custom views, I have put the files on my web page for you to try |
![]() |
unitedintruth author 12/11/2008 |
I made a PDF of my add pedigree page, and my view pedigree page. If you look at them I need the sire and dam to link to the sire and dams pedigree. |
J
|
Jane 12/12/2008 |
Hi, global $conn; if (@$_REQUEST["editid1"]) { $str = "select Id from Pedigrees where Sire='".$value."'"; $rs = db_query($str,$conn); $data = db_fetch_array($rs); $value = "<a href=\"Pedigrees_view.php?editid1=".$data["Id"]."\">".$value."</a>"; } |
![]() |
unitedintruth author 12/12/2008 |
Thank you Jane, global $conn;
|
J
|
Jane 12/15/2008 |
Donnie, |
![]() |
unitedintruth author 12/15/2008 |
Donnie, It's difficult to tell you what's happening without seeing actual files. Please publish your project on Demo Account and open a ticket at http://support.xlinesoft.com sending a URL to your pages along with instructions on reproducing this error.
|
J
|
Jane 12/16/2008 |
Hi, echo $str;
|
![]() |
unitedintruth author 12/16/2008 |
I added that to the statement on the sire field. When I place that echo at the end of the statement I get. select id from _pedigrees where Sire='Tiny Tots Cute As A Button of Shekinah'
|
J
|
Jane 12/17/2008 |
I suppose you need to select record where Name is Tiny Tots Cute As A Button of Shekinah, not Sire. $str = "select Id from Pedigrees where Name='".$value."'"; |
![]() |
unitedintruth author 12/19/2008 |
Jane, you are the most awesome one in the world. |