Jump to content

gple

Members
  • Posts

    166
  • Joined

  • Last visited

Everything posted by gple

  1. I have a drop down menu and I want to insert the selection from the drop down menu into the database. How would I go about this?
  2. what does this do action='".$_SERVER['PHP_SELF']."'>"; how does this insert into the table. each field is a record of the same type.
  3. I want to create a form with the same field 15 teams. I want to submit different information in each text box and then after clicking submit, have each text box be inserted to the database as 1 record. So in total, there would be 15 different records inserted into the db.
  4. I am using 15 text areas for the user to put in 15 names. so we have user1, user2,....user15. How can I do this below: $user1=$_POST['user1']; $user2=$_POST['user2']; $user3=$_POST['user3']; $user4=$_POST['user4']; $user5=$_POST['user5']; $user6=$_POST['user6']; to input the data in a table without actually having to type out 15 lines.
  5. gple

    PHP Mail

    In the list of email address there are two AOL email accounts. It seems that the other addresses are getting the email but the AOL addresses are not. Any idea why this would be.
  6. gple

    PHP Mail

    Thank you I will test.
  7. gple

    PHP Mail

    Dont some email addresses filter out emails that come in as BCC as spam and/or junk.
  8. gple

    PHP Mail

    I have a list of email addresses in a table. I pull the email addresses and concatenate them together to put in the to: line of a php mail function. Unfortunately, everyone sees everyones else's email address. Is there any way around this? I have tried to put the php mail function in a loop to send a separate email to everyone in the list but my host does not allow a certain amount of emails to go out in a specified amount of time. I guess this is to fight against Spam. Anyone know how I can get around sending out one email to a bunch of addresses without all the addressses appearing in the to; line.
  9. I am passing a variable $name into a text box and have the variable text show up in the box so I can later change it and update a record. When the variable is two words like "PHP Freaks", the only thing that appears in the text box is "PHP" it leaves out the second word. Here is the php code that outputs the text box: echo "Variable: <input name=variable type=text value=". $variable ."><br>"; Any ideas.
  10. I have a variable $date which when outputted appears as (2007-12-01). What do I need to do so it outputs like (12-01-2007) or (12/01/2007) without using substrings.
  11. Im not typing [/Url], for some reason the forum is changing </a> to [/URL]. I have </a> in the code and still doesnt work.
  12. I am using a table with data in it to help create a list of links using php. for ($i=0;$i<$num;$i++) { $team=($result,$i,"team")//this line gets the team name.                                 // if I echo $team out, i will get Holy Cross echo "<a href=team_schedule.php?$team=".$team.">".$team."</a>"; //This code is supposed to produce a link that reads <a href=team_schedule.php?team=holy cross> but for some reason this only produces <a href=team_schedule.php?team=holy. It doesnt recognize anything after the space. Any ideas why this happens and what can be done to make this work. This only happens when the team I am pulling from the table has two words with a space. The info cannot be altered. Any ideas? }
×
×
  • 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.