Tutorial Details
- Topics Discussed: MySQL, PHP
- Difficulty: Intermediate
- Tut Format: 15 Minute Video
Download Source Files
Ever visited a blog, and noticed that each posting’s overview only contained a hundred characters or so, which is then followed by “…”? Ever wondered how to do that yourself? It’s not quite as easy as you might think. What if character number 100 occurs in the middle of a word? Do you want to display half of a word on the page? Of course not. In this video tutorial, I’ll show you how to compensate for this, as well as a host of other neat little things, like working with MySQL’s LEFT() function, using PHP’s strrpos, and substr, creating the beginning’s of an actual blog, and more.
What You’ll Learn
- Use MySQL’s LEFT() function to create temporary columns
- Use PHP prepared statements to query the database
- How to create an “excerpts” section for your blog
- PHP’s
strrposandsubstrfunctions - The process of creating the beginnings of a blog
Premium Members: Download this Video ( Must be logged in)
Note: Want to add some source code? Type <pre><code> before it and </code></pre> after it. Find out more
- http://www.ecustom.ca/ Damon Bridges
- Joris
- http://wurtzy.com Chandler
- luke
- http://wurtzy.com Matt Chandler
- http://www.arvag.net GaVrA
- eM.
- Brad
- http://www.monitojoomla.com/ jmarreros
- David
- KanZonk
- http://www.facebook.com/pages/Pinoy-How-To/88906659020?v=app_7146470109&ref=ts xbiboy
- http://www.art-coder.com Eugene
- w1sh
- http://prop-14.com Randy
- Robert
- http://prop-14.com Randy
- Rodolfo Palma
- James
- http://www.vaxis.net Vasili
- http://juliazjournal.com Julia
- Chris
- Scott
- http://twitter.com/erikneves Erik Neves
- http://www.ecustom.ca/ Damon Bridges
- http://www.ecustom.ca/ Damon Bridges
- http://net.tutsplus.com Jeffrey Way
- http://www.ecustom.ca/ Damon Bridges
- http://99points.info Zeeshan Rasool
- http://bimtee.com Dwayne Clarke
- Luis Milanese
- Ian
- http://www.chrome-clan.de Saddy
- Zaro
- Jaspreet Singh
- http://www.liverunning.dk Jan
- http://www.baidu.com baidu
- http://www.circuitbomb.com Dustin
- http://tejasluvs.tumblr.com/ Tejas Sali
- http://dagrevis.lv/ daGrevis
- Bobby
- http://www.madphp.org/ Chris
- http://www.luneya.com Leonie
- Jeffrey
- http://dsullweb.com derek
- http://www.level2d.com Philip Brown
- http://adizo.in Sachin
- http://www.youtube.com/watch?v=YD90AvZlGrs&feature=relmfu test
- http://www.eworldsms.net Aamir
- watchthesimpsonsonline
