|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
Display database results as hyperlinks
I have given up on displaying the database results in a drop-down box and am tryingto get them displayed as hyperlinks.
Code:
..database connection and select..
...
while ($row = mysql_fetch_array($result)) :
print "<a href='$row[localcustomer]'>$row[localcustomer]<br/>";
endwhile;
I get an error with this - XML parsing failed: mismatched tag. If I change the print line to a simple print "hello"; it works fine, so it is something with the hyperline that is funky. Any ideas?? Thx |
|
#2
|
||||
|
||||
|
Missing the closing </a>, should be like:
PHP Code:
__________________
Cheers, Jamie # skiFFie | Home of the 'accessibility module' for Drupal # Jamie Burns [me] Accessibility Module [drupal] # guidelines | search | wap resources | not getting help | fold to cure # Any form of employment is strictly prohibited ...... __________________ Let the might of your compassion arise to bring a quick end to the flowing stream of the blood and tears ..... Please hear my anguished words of truth. __________________ |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > WAP Programming > Display database results as hyperlinks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|