|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
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
|
|||
|
|||
|
link problem issue
echo "<p>\n";
echo "<a href=\"http://wap.singtel.com.sg\">Singtel echo "</p>"; Are we allow to have \n after <p> in WML programming?. It was because when using nokia 7610 to surf this page, the link don't work... |
|
#2
|
|||
|
|||
|
Hello,
The </a> tag is missing at the second line. If you want to start the link at a new line, I think you have to use: echo "<p><br/>"; instead of: echo "<p>\n"; Hope that helps. |
|
#3
|
||||
|
||||
|
Flyinghigh is right- though additionally you haven't finished your second line, so there will be a parse error too. Just to follow up a bit:
\n only puts a new line in the finalized source code, not the actual display. <br /> as suggested is what you want to actually display a new line of the screen. In your snippet, you could just have it all on one line, but since you have done it on three, on the line you have all the escaped quotes, why not use single quotes for your PHP instead, makes life a whole lot easier: 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 > link problem issue |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|