Jump to content

Boxerman

Members
  • Posts

    275
  • Joined

  • Last visited

Everything posted by Boxerman

  1. ok, so is there a way i can create a form, link it to php and when a user clicks submit sends it?
  2. Ok, explain that please? also, how do i add checkboxs in php?
  3. Ok thanks guys, would it be like this, <?php // The message $message = "$location = $_SERVER["PHP_SELF"];"; // In case any of our lines are larger than 70 characters, we should use wordwrap() $message = wordwrap($message, 70); // Send mail('caffinated@example.com', 'My Subject', $message); ?>
  4. Any pm me the code or anything?
  5. Ok so how do i put the code together?
  6. i need to make one of these, but dont know how?
  7. Hi guys, basically, im new to the php stuff, i was wondering, ive created a form and posting it to the database and it works perfect, ive added more stuff, but what i want to do is set the display up so you can view people. Basically, at the moment i display the info like this: Name Age Boxerman 17 but the form i use to enter details in i added a few more, but i wish it to display like this Name Age View Boxerman 17 View Details so when you click view details it shows there town, phonenumber, rating and other stuff... how do i do this? thanks
  8. http://www.vatsim-uk.org/open/index.php?source=rts thats what im aiming for, i use frontpage, have my own server, and know all basic php
  9. Jonny thanks mate, i want to avoid using CMS' (i know www.vatsim-uk.org they use CMS, i want it like there RTS system) as with your own written scripts you can always add stuff edit it etc.. ive been doing lots of tuts of php online. But the main question is step by step how do i do it?
  10. O and also, whats the best way to start something like this?
  11. Hi guys, Im trying to make a script, for vatsim kinda thing this is what i want it to do. i wish for it to let people sign up and a admin accept it, and also, let people book mentoring, which they select times and days, which then can be viewed on the mentors side and they click accept, with that i would like mentors to add comments which when submitted can be seen by the person who requested it only. Can anyone help me? what im asking is, can someone break it down, like do this, do that, add them together, what im going to need etc... Thanks, James
  12. there are both under the same database... so, vipersim_acars is the database, they are tables under it...
  13. Hi guys, i've got a problem thats why im posting... On my page i want to grab information from two different tables in the same database... i used this: /* Select all pilots */ $query = "SELECT * FROM `pilots` `positions` ORDER BY pilot_num ASC, WHERE last_update > DATE_SUB( NOW() , INTERVAL 15 MINUTE ) ORDER BY IATA"; $result = mysql_query($query); /* Determine the number of pilots */ $number = mysql_numrows($result); i now have this error... Warning: mysql_numrows(): supplied argument is not a valid MySQL result resource in /home/vipersim/public_html/jamesm/pilot_roster.php on line 36 to to help line 36 is $number = mysql_numrows($result); but before i added the code at the top it worked fine.. so how do i fix this? Thanks!
  14. ahh i understand a little now... the form must be the same as this... http://www.vipersim.com/jamesm/pilot_roster.php it must have all the same fields... like rank, remarks etc...
  15. Thanks! where do i start, ive got the form made up, how do i link it with the database?
  16. Hi guys, i use a program called FSACARS and i have to go into the phpmyadmin to add people on the database... i was wondering if anyone knows how i can get a php form to do this, so they fill stuff out and it adds them to the database automatically! thanks! James
×
×
  • 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.