Jump to content

psquillace

Members
  • Posts

    94
  • Joined

  • Last visited

    Never

Everything posted by psquillace

  1. Oh ok... well I will just leave it and count my blessings that I got this far and got it to work. LOL thanks for all your help, Paul
  2. Thanks AWPTI it worked with a concatenate on the end and a \r\n\r\n for 2 line breaks. now, how would I bold the titles like Reg Name: Reg Age Inside the ' ' single quotes?
  3. Hello All: I have a mail script set up as such: However the email comes as one long line. Is there something I am doing wrong here? thanks for any help or advice, PM
  4. Well, Here are a couple of rows of the landing page form: Let me know what more you need to see or if this is enough... thanks for your help, PM
  5. Hello All: I have 2 forms on my website and basicaly what it does it pass the info in the form fields from one page to the other where people actually sign up for our newsletter. What I did was put value="<?php echo $_POST['Postal_Code']; ?>" in every form field on the landing php page so it would grab all the info from the front page. However, now if you just GO to that page with out filling anything in on the front page, the page opens with all the forms filled in with <BR /> tags in them. Is there something I am missing on this? Thanks for any help or advice, Paul
  6. wow! Thanks guys.... I did not know there were so many ways to do this. Ok, I will try them out.... Thanks for the help. Paul
  7. Hello All: I want to write a script where a few .jpgs that I have would change on a specific date (seasonally). Being new to php I was wondering if I should do something like IF date() 'img src"" ' ; }else{ echo img... bla bla bla but I am not sure of the exacts of how I can do this, Any help or advice is much appreciated, Paul
  8. Thanks DarkAngel for all your help with this, I was informed by the nice people at Constant Contact that they do not allow multiple sign ups with one pass of a script but only one entry per. Now I have to go back and recreate this script with a foreach loop or something..... :-\ At least I know it was nothing in my code so that is sort of comforting, Thanks again for all your help, Paul
  9. I am using DW CS3 on my mac but if you are using a PC i would suggest UltraEdit which is pretty cool. I have used that on my pc for years.
  10. hrmm well, when I call the array I have this Do yo mean the list_name[] that i have, it should be list_name='[]' instead? thanks for your help, Paul
  11. Hello All: I am trying out a php script that involves sending checkboxes that people select to a mailing service called Constant Contact. For some reason, when you check multiple arrays only one option gets sent from that array... The last one checked... Can someone tell me if there is a limit an array or something like that. See, the array, when called lists all checkboxes that people can check but if someone checks more than one.... it does not pass or even get emailed because I have that in the script too. I would list the code here but it is 500 lines long with the HTML..... Thanks for any help or insight into this, Paul
  12. Thanks Guys for all your help with this. I will have to take a step back and re-evaluate all this to be better prepared. Thanks again, Paul
  13. Yes, you are correct. I did not test it properly to see if that was the case. Just newbie frustration I guess. :'(
  14. Yes, but then how do I tell it to stop if $_POST["First_Name"] is not valid? that is where I get lost..
  15. Yes, what happens is after I fill out the form it shows me the successfull message that is in there. Thanks for signing up and then when I go look in my database, it is in there.
  16. Hello All: I have a HTML form set up that works fine but if there is nothing entered in any of the fields I get a blank screen. I wanted to set it up so that it comes back with saying what is missing so I wrote out if (empty($_POST["First_Name"])) { $First_Name = FALSE; $message .= 'Please Enter Your First Name'; }else{ $data .= "&First_Name=" . urlencode(strip_tags($_POST["First_Name"])); } However, when I fill out the form and leave the first name blank, it still goes ahead and dumps my info in my database. Any thoughts on what I might be doing wrong here? Thanks, Paul
  17. Hrmm, so because I am working with this function by putting it in double quotes I am telling it to parse it as a variable not as a resource? Ok, I think I got it. thanks all for your help, Paul
  18. yes, I know it is incorrect. My question was why no double quotes arround that handle $connection? thanks for your help thought, paul
  19. hello all: In connecting and selecting my database I wrote the following: <?php $connection = mysql_connect("127.0.0.1","root","playingcards"); if (!$connection) { die("Connection to Database Failed: " . mysql_error()); } $db_select = mysql_select_db("widget_corp","$connection"); if (!db_select) { die("Cannot Select database widget_corp: " . mysql_error()); } ?> However I kept getting an error that was driving me crazy..... till I figured what the issue was, I was using double quotes around my handle $conncection when in fact, there should not have been any. My question is, Why? I thought just like in connecting where I needed each argument IP, user, pass to have quotes why should I not use that for my connection. Thanks for any help or advice on this, Paul
  20. I just started using TextMate over the summer and kind of like the way it handles php...however, I am not totally convinced that this is the one to use for php. does anyone else use this editor and like it 100%, can they tell me why? thanks Paul
  21. ahhh ok, good point. thanks again for the input. Paul
  22. hrmm, thanks thorp so you think it is best to just keep it off and keep saying ob_start(); each time I need it? I figured what harm is it doing with only 4096k set as the max
  23. Hello All: i wanted to get an idea about what kind of load we are talking about when this is kept on all the time in your php.ini file. I know it makes my life easier knowing that this is on all the time and not having to worry too much about if there is whitespace in front of my headers but the statement in the php.ini file says how it will slow down php a bit if it is left on. How much resources is this actually going to use if it is on all the time, or am I missing the big picture on this one? Thanks for your thoughts and input, Paul
  24. ahh ok. I think it is coming around in the old head now. thanks for all your help. Paul
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.