Hi all,
Im learning PHP & SQL very quickly, but still have issues with counting this, and incrementing that.... so if someone could help, you'd be(proverbially) teaching a man(woman in my case..lol) to fish....
Im constructing a form which in part, allows user to input instructions.
I would like the users input to increment with numbering, each time user hits "enter" in the textarea to make a paragraph, so that the output looks something like:
step 1. blah blip blah
<user hits "enter", makes paragraph>
step 2. blah blur blah
<user hits "enter", makes paragraph>
The best example I have is on the website recipezaar.com...
so for example:
http://www.recipezaar.com/Crock-Pot-Chicken-W-Black-Beans-and-Cream-Cheeseyum-89204
which is just an awesome site btw for any of u who like to cook...
If you look to how their "Directions" on recipe pages increment, you will see what I am trying to explain, god help my explainatory abilities. The way in which i explained i would like input incremented, is how they increment it on this website.... user presses "enter"..input is incremented..
If anyone could give me an idea on how I could implement this....very thankful, i would be...
Cheers! Clarity