It shows that you are unregistered. Please register with us by clicking Here
![]() |
|
![]() |
![]() | Register - FAQ - Today's Posts - New Posts - Support - Search | ![]() |
![]() |
![]() |
|
LinkBack | Thread Tools | Display Modes | ![]() |
|
|
#1 (permalink) |
|
Junior Member
Join Date: Jul 2006
Age: 38
Posts: 9
|
I would like to insert text into my database so that when the database is queried the text is retrieved just like the way into looks in the word document. Currently when i put the text comes out all squashed up without paragraph, tags or indents.
this is the code i am using at present If (!empty($_POST['resume'])){ $re = escape_data($_POST['resume']); } else { $re = FALSE; echo '<p><font color="red" size="+1">Please Include Your CV/Resume!</font></p>'; require('footer.php'); exit(); } and another thing this text completely messes up my php generated page when it is retrieved why is that so The SELECT ... INTO OUTFILE 'file_name' form of SELECT writes the selected rows to a file. The file is created on the server host, so you must have the FILE privilege to use this syntax. file_name cannot be an existing file, which among other things prevents files such as /etc/passwd and database tables from being destroyed. As of MySQL 5.0.19, the character_set_filesystem system variable controls the interpretation of the filename. The SELECT ... INTO OUTFILE statement is intended primarily to let you very quickly dump a table to a text file on the server machine. If you want to create the resulting file on some client host other than the server host, you cannot use SELECT ... INTO OUTFILE. In that case, you should instead use a command such as mysql -e "SELECT ..." > file_name to generate the file on the client host. SELECT ... INTO OUTFILE is the complement of LOAD DATA INFILE; the syntax for the export_options part of the statement consists of the same FIELDS and LINES clauses that are used with the LOAD DATA INFILE statement. See Section 13.2.5, “LOAD DATA INFILE Syntax”. Thanks Nalalie |
|
|
|
|
|
|
|
#2 (permalink) |
|
Junior Member
Join Date: Jul 2006
Age: 28
Posts: 11
|
Hello my firend
http://www.php.net/manual/en/functio...ape-string.php http://www.sitepoint.com/article/php-security-blunders GOOD LUCK! |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Quick question about indexing | kevin | Search Engine Optimization | 6 | 02-25-2008 06:38 AM |
| Vector Attempt Attack | Archlord | Graphics & Multimedia | 17 | 09-11-2005 01:07 AM |
| Grundge Attempt Attack | Archlord | Graphics & Multimedia | 16 | 09-09-2005 04:43 PM |