Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by amirkhansemail

  1. amirkhansemail

    How to run a PHP script once every 24 hours automatically.

    How can we run a PHP script once every 24 hours automatically on a Linux server. Thanks
  2. amirkhansemail

    How to make url as a clickable link using echo fn or other fns

    Hello, My problem is if i say for eg: echo "http://www.cnn.com"; it shows as plain text not as a link on the browser, so the question is how to make it appear as a clickable link WITHOUT using anchor href. Because on my site people are filling textarea box with the some other text, but...
  3. amirkhansemail

    How to delete rows between two dates

    Hello, I want to delete rows with the values posted by two date range drop downs in the following form. The rest of the form functionality is working perfectly but I am unable to write the correct delete from table SQL command to be able to delete the rows between the date range. Your help is...
  4. amirkhansemail

    How can we make input type file as stricky in a form

    The point is to retain the values sent by the previous submit, in case the form fires back if a mandatory field is not filled by the user. if values are sticked using value="<?php echo $abc; ?>" the end user does not have to fill the field again. And as you mentioned, that's what exactly I...
  5. amirkhansemail

    How can we make input type file as stricky in a form

    1. How can we make input type file as sticky in a form 2. Also if we are uploading multiple files, how can we make the form sticky thanks in advance.
  6. amirkhansemail

    Do we have a function truncate in PHP?

    Do we have a function truncate in PHP to truncate numbers/decimal points, or do we have a similar function php which that truncates numbers?
  7. amirkhansemail

    A question regarding select option pulldown using PHP

    I have mentioned i want to pass n.news_id in the SQL Select Statement: $query="select n.news_id, n.title from news n";
  8. amirkhansemail

    A question regarding select option pulldown using PHP

    What should I write instead of the question marks in the first line to call news.php with the value n.news_id in the SQL Select statement <form method="POST" name="news_selected_form" action="news.php?newsid=?????????"> <select name="sel_news_id" onchange="news_selected_form.submit();">...
  9. amirkhansemail

    Textarea box whitespace problem

    I have a php form in which i have a textarea box, and i insert two or more paragraphs through it in the MySQL db, which is saved just fine. But when i retrieve and display that data it shows me big chunk of one paragraph. In other words all paragraphs are combined in one big paragraph. Please...
  10. amirkhansemail

    Parse error: parse error, unexpected '&lt;'

    Here is the narfle the garthok code (its .php file which i have simplified, still getting exactly the same error on this also): <!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Cooper...
  11. amirkhansemail

    Parse error: parse error, unexpected '&lt;'

    I am getting the following error, I have done everything to find out if there are any tags out of balance: Parse error: parse error, unexpected '<' in d:\folder\index.php on line 6 How can fix this error please? Thanks in advance. Amir

Part and Inventory Search

Back
Top