Jump to content

kirbyweb

Members
  • Content Count

    246
  • Joined

  • Last visited

Community Reputation

0 Neutral

About kirbyweb

  • Rank
    Member
  1. I have a template I am uploading for someone and I need to know how to make a dropdown menu.Here is the code: <?xml version="1.0" encoding="utf-8"?><contactFormStructure> <formItems> <item id="1" label="Name" required="true"> <textToShow>Name*:</textToShow> </item> <item id="2" label="E-mail" required="true"> <validator>EmailValidator</validator> <textToShow>E-mail*:</textToShow> </item> <item id="3" label="Fax"> <restrict>+-.0-9</restrict> <textToShow>Fax:</textToShow> </item> <item id="4" label="Message" required="true"> <textToShow>Message*:</textToShow> </item> </formItems> </contactFormStructure> Where the fax is I want to know how to make a drop down menu, I did not know I would be doing with with xml, but it was not my choice so, please help asap thanks.
  2. kirbyweb

    New Template?

    Thank you so much, do you think it is better then the last template?
  3. kirbyweb

    New Template?

    Tell me how my new template is not:kingdomsarcade.com
  4. kirbyweb

    File Adds Html?

    I already did it in php, you just put the html on top of the php code, so you can.
  5. kirbyweb

    File Adds Html?

    No there is no link I am still using the form, I just did action in the form and moved the php code to where ever the action is.So no that we confirmed its not a link, how can I make the text on the die appear on the same page?
  6. kirbyweb

    File Adds Html?

    So how can I make the script stop but the text appear on the same page?
  7. kirbyweb

    File Adds Html?

    Whats with the printing and exiting is that a solution?
  8. kirbyweb

    File Adds Html?

    Now I have one more question if I use die, how would I make it appear on the same page, not make it just plain white with the words.
  9. kirbyweb

    File Adds Html?

    So you are saying I need a new page for this?
  10. kirbyweb

    File Adds Html?

    I am new to this file part, can you explain which areas?
  11. kirbyweb

    File Adds Html?

    I have a page where you can download files from your db, but it includes the html on the page to the file does anyone know why? here is the code: <table><tr><td><form method="POST">Full Name:</td><td><input type="text" name="name" /><br /></td></tr><tr><td>File Name:</td><td><input type="text" name="file_name" /><br /></td></tr><tr><td><input type="submit" name="submit" value="submit" /></form></td></tr></table><?php$name = $_POST['name'];$file_name = $_POST['file_name'];$submit = $_POST['submit'];if ($submit){$connect $sql = mysql_query("SELECT file_itself, file_type, file_name, file_size FROM `form_files_info` WHERE full_name = '$name' && file_name = '$file_name'"); $count = mysql_num_rows($sql); if ($count == 0) { die('No Name or File Name named that.'); }else $data = mysql_result($sql, 0, "file_itself"); $name = mysql_result($sql, 0, "file_name"); $size = mysql_result($sql, 0, "file_size"); $type = mysql_result($sql, 0, "file_type"); header("Content-type: $type"); header("Content-length: $size"); header("Content-Disposition: attachment; filename=$name"); header("Content-Description: PHP Generated Data"); echo $data;}?> Please help thanks.
  12. Could I practice with you?Like I can help you with stuff?
  13. Yes I know about the fonts and doctype its not done yet, I was hoping you wanted to higher me when I saw you were viewing this thread, guess not
×
×
  • Create New...