Click here to Skip to main content
15,888,337 members
Home / Discussions / Linux, Apache, MySQL, PHP
   

Linux, Apache, MySQL, PHP

 
GeneralRe: how to run perl in xampp windows Pin
saranya11-Jan-11 18:26
saranya11-Jan-11 18:26 
GeneralRe: how to run perl in xampp windows Pin
QuantumPlumber11-Jan-11 22:47
professionalQuantumPlumber11-Jan-11 22:47 
Questioncan read in php Pin
udch21-Oct-09 1:12
udch21-Oct-09 1:12 
AnswerRe: can read in php Pin
Marc Firth22-Oct-09 23:56
Marc Firth22-Oct-09 23:56 
GeneralRe: can read in php Pin
udch23-Oct-09 1:46
udch23-Oct-09 1:46 
GeneralRe: can read in php Pin
Marc Firth23-Oct-09 2:23
Marc Firth23-Oct-09 2:23 
Questionphp help Pin
gisli8920-Oct-09 4:18
gisli8920-Oct-09 4:18 
AnswerRe: php help Pin
enhzflep20-Oct-09 14:15
enhzflep20-Oct-09 14:15 
I assume that it's your intention for the last line to be repeated?

Why not just run through a loop, printing out a string and adding an extra character to it each iteration.
Once the loop has been run the correct number of times, print the last result again and you're done!

Think about the output needed:

*<br>
**<br>
***<br>
****<br>
*****<br>
*****<br>

Clearly, displaying each line involves printing the text, followed by printing a <br>

Perhaps you'd find the output line looking something like this:

printf("%s<br>", $starString);

AnswerRe: php help Pin
Luc Pattyn20-Oct-09 14:41
sitebuilderLuc Pattyn20-Oct-09 14:41 
Questionhosting web and Xampp Pin
sharkbc20-Oct-09 0:03
sharkbc20-Oct-09 0:03 
AnswerRe: hosting web and Xampp Pin
Marc Firth20-Oct-09 23:17
Marc Firth20-Oct-09 23:17 
GeneralRe: hosting web and Xampp Pin
sharkbc21-Oct-09 0:09
sharkbc21-Oct-09 0:09 
Questionhow to make a link like this site(Code project's thread Subjcect)? Pin
CoderForEver19-Oct-09 21:03
CoderForEver19-Oct-09 21:03 
AnswerRe: how to make a link like this site(Code project's thread Subjcect)? Pin
Marc Firth21-Oct-09 0:25
Marc Firth21-Oct-09 0:25 
GeneralRe: how to make a link like this site(Code project's thread Subjcect)? Pin
CoderForEver22-Oct-09 23:58
CoderForEver22-Oct-09 23:58 
GeneralRe: how to make a link like this site(Code project's thread Subjcect)? Pin
Marc Firth23-Oct-09 0:00
Marc Firth23-Oct-09 0:00 
GeneralRe: how to make a link like this site(Code project's thread Subjcect)? Pin
Marc Firth23-Oct-09 0:01
Marc Firth23-Oct-09 0:01 
GeneralRe: how to make a link like this site(Code project's thread Subjcect)? Pin
CoderForEver23-Oct-09 0:15
CoderForEver23-Oct-09 0:15 
GeneralRe: how to make a link like this site(Code project's thread Subjcect)? Pin
Marc Firth23-Oct-09 0:22
Marc Firth23-Oct-09 0:22 
GeneralRe: how to make a link like this site(Code project's thread Subjcect)? Pin
CoderForEver23-Oct-09 0:27
CoderForEver23-Oct-09 0:27 
QuestionHow to send email? and How to display text Lyrics when-a link is clicked Pin
CoderForEver17-Oct-09 1:47
CoderForEver17-Oct-09 1:47 
AnswerRe: How to send email? and How to display text Lyrics when-a link is clicked Pin
CalvinHartwell19-Oct-09 11:04
CalvinHartwell19-Oct-09 11:04 
GeneralRe: How to send email? and How to display text Lyrics when-a link is clicked Pin
CoderForEver23-Oct-09 0:03
CoderForEver23-Oct-09 0:03 
Questiongetting data from files Pin
stevieke16-Oct-09 3:09
stevieke16-Oct-09 3:09 
AnswerRe: getting data from files Pin
cjoki16-Oct-09 7:54
cjoki16-Oct-09 7:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.