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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. WilliamMute007

    Quick Redirect syntax help please?

    SOrry guys, I messed about and figured it out. Just in case any other semi amateur like me needs to know :) header("location: $destination"); Thanks
  2. WilliamMute007

    Quick Redirect syntax help please?

    Hi, Sorry, I know this may be easy enough for most guru's on here, can anyone please help me? I only want a simple re-direct from a link stored within a variable. Please see below attempt which didnt work header('Location: '$destination''); I appreciate your help please. Thank you
  3. WilliamMute007

    Foolish php update db error

    FAAAANTASTICA!! Vacunita you are a star! I cant beleive Feherke pointed it out earlier but I foolishly missed that point (slap myself). I knew it had to be something so minute like that gosh! lol. Thanks Justin also for your valuable help too. You all rock!
  4. WilliamMute007

    Foolish php update db error

    ...Phasellus porta. Fusce suscipit varius um sociis natoque pena tibus et magnis dis parturient montes</p> <p>Required fields are marked *</p> <br /> <div class="form"> <form action="cms_new_news_process.php" method="post" id="contactform"> <p>Your...
  5. WilliamMute007

    Foolish php update db error

    ...method="post" id="contactform"> <p>Your Information</p> <p> <label for="summary">News Header *</label> </p> <pre><input type="text" name="heading2" id="heading2" value="" size="22" /> </pre>...
  6. WilliamMute007

    Foolish php update db error

    Hi Justin, I have tried that and this is the message: "The field Submit was not submittted. These are the submitted fields: Array ( [heading2] => Test Heading [summary] => This is a brief summary [news] => This is the message [author] => The author )" Thanks
  7. WilliamMute007

    Foolish php update db error

    Hi Justin, I just tried that but now the pageis just blank, no information is displayed. Here is what the code looks like now <?php //turn on error tracking error_reporting(E_ALL); ini_set('display_errors', true); //ini_set('display_errors', true); //error_reporting(E_ALL); //get...
  8. WilliamMute007

    Foolish php update db error

    ...method="post" id="contactform"> <p>Your Information</p> <p> <label for="summary">News Header *</label> </p> <pre><input type="text" name="heading2" id="heading2" value="" size="22" /> </pre>...
  9. WilliamMute007

    Foolish php update db error

    I thought I gave an explanation? no? Ok let me have another go :) I dont get any error message, the screen just echo's the array of data sent from the form and that's it. I actually want it to populate the database with these information NOT display them on the screen as it is doing right now.
  10. WilliamMute007

    Foolish php update db error

    Thanks vacunita. Actually, I dont mean update, I meant to say insert. I simply wanted to insert a few values from a form into a table called "news" in the voiceofhop3 database. Thanks for your help with this.
  11. WilliamMute007

    Foolish php update db error

    Can anybody please help my foolishness pls? For the life of me, I cant really spot why my DB is not updating. <?php //turn on error tracking ini_set('display_errors', true); error_reporting(E_ALL); //get connection variables require_once('connection.php'); //connect to database server...
  12. WilliamMute007

    Session help please?

    Foolish me! must be the tiredness :( Thank you as always Justin. I appreciate your help.
  13. WilliamMute007

    Session help please?

    Hi All, Any chance I can get help with this code please? Am not sure what I am doing wrong but I cant seem to figure out why its not working as it should. I want this verification page to check if a stored session value is say for example 'Director' if so, then navigate them to whatever page...
  14. WilliamMute007

    Help with Advance Image upload &amp; Resizing

    Justin, Thank you so much! you made my day. I appreciate all your input. It works now. As for the image uri, I think I'll stick with the simple option lol, been on this for 2 days now and I am way behind. You have also been on it most of today so I don't want to prolong it. I really...
  15. WilliamMute007

    Help with Advance Image upload &amp; Resizing

    You are right Justin, it was the query string, works now BUT I've just checked on my MySQL DB and the table row "preview" is being populated with the following "/home/fhlinux132/m/mmakers.co.uk/user/htdocs/Template/PHP_/appreciateduploads/16/Picture 005.jpg" As the image path, this is surely...
  16. WilliamMute007

    Help with Advance Image upload &amp; Resizing

    Here is the Error: Parse error: syntax error, unexpected '"' in /home/fhlinux132/m/mmakers.co.uk/user/htdocs/Template/PHP_/CMS/blog_add_process_new.php on line 75
  17. WilliamMute007

    Help with Advance Image upload &amp; Resizing

    Here you go sir! Insert into mm_appreciated (title,text,preview,categorie,categorie_name,author,date_post) VALUES ('Test Name,I am the text for the body,/home/fhlinux132/m/mmakers.co.uk/user/htdocs/Template/PHP_/appreciateduploads/16/Picture 005.jpg,2,Consultant,Position of Person,2010-09-10...
  18. WilliamMute007

    Help with Advance Image upload &amp; Resizing

    Thanks for that, Here is the error: "Cannot insert table data Column count doesn't match value count at row 1"
  19. WilliamMute007

    Help with Advance Image upload &amp; Resizing

    OK Thanks, I'll wait to hear from you.
  20. WilliamMute007

    Parse error: syntax error, unexpected...

    I dont think the (dot) is doing you favours. I would probably change the $headers line to $headers = "Content-type: text/html\r\n";

Part and Inventory Search

Back
Top