[PHP] Getting current page name without path

2005-09-06 Thread Bushra
Hi I want to get the name of current page. I use $PHP_SELF or SCRIPT_FILENAME, but it also provides the path name . I just want to retrieve the file name with extension. How can I do that? Regards Bushra -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] How can I format text in textarea?

2005-08-29 Thread bushra
Hi When I enter text as more than on paragrahs in a textarea field,The text is displayed in one solid block of text even though I have entered it in paragraphs. How I can to insert line breaks in the text. (The values of textarea is stored in database and then displayed.) Bushra -- PHP