Search Results

Showing results 1 to 2 of 2
Search took 0.00 seconds.
Search: Posts Made By: FireNet ; Forum: PHP and child forums
Forum: PHP Dec 16th, 2007
Replies: 5
Views: 970
Posted By FireNet
use the function mysql_escape_string();

It will make sure all the characters are escaped and safe to use in a mysql query

escaping a character is adding a \ in front of a character. Eg: \'

...
Forum: PHP Dec 12th, 2007
Replies: 2
Views: 788
Posted By FireNet
Simple.

Take the text of the article as a string, crop the string to a certain size, append "......" to the string and display it.


<?php
...
Showing results 1 to 2 of 2

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC