Jump to content

degsy

Members
  • Posts

    20
  • Joined

  • Last visited

Everything posted by degsy

  1. It's a generic example. You take that part you need and work with it.
  2. Not without editing the page code.
  3. Link 2 does. Maybe you should look at it  ::)
  4. http://degs.co.uk/test/hct/loop_through_checkbox_check_limit.htm http://degs.co.uk/test/hct/loop_through_checkbox_check_limit_php_array.php http://degs.co.uk/test/hct/loop_through_checkbox_check_limit_to_1.htm
  5. Here is some old javascript code for passing data http://degs.co.uk/test/javascript/message_window/message_opener.htm
  6. Something like this should work [code] <input name="textfield" type="text" value="123.456.abc" onblur="this.value=this.value.replace(/\./g,',');"> [/code]
  7. parent.framename.formname.submit()
  8. It is doing what you set it to do. using command opener.window.FORMA.submit() you are posting the parent, not the child.
  9. Maybe this may help http://www.quirksmode.org/dom/inputfile.html
  10. You shouldn't have many problems converting that tutorial. The only real difference is the variable syntax. e.g. ASP = session("var") PHP = $_SESSION['var'];
  11. You seem to be mixed up with your brackets and order of if statements. You could use something like <?php if($row_query_fiction['chapter_title'] != ""){ echo ': ' . $row_query_fiction['chapter_title']; } if($row_query_fiction['chapter_no'] != ""){ echo ': Chapter ' . $row_query_fiction['chapter_no']; } ?>
  12. Are you using a DW Login form? If so it will create it's own session variable. <?php echo $_SESSION["MM_Username"]; ?>
  13. The file transfer seems slower and buggier to me. It has some nice code features such as showing the start & end of tags/code snippets Can't remember much change in the functions, just the cosmetics. Why not download the trial?
  14. If you want to upload images with DW then MX Kollection has some features [a href=\"http://www.interaktonline.com/Products/Bundles/MXKollection/Features/Details/Form%20Validation%20in%20a%20browser\" target=\"_blank\"]http://www.interaktonline.com/Products/Bun...n%20a%20browser[/a]
  15. I think you are looking for something similar to <?php if($totalRows_Recordset1 > 5){ ?> <p><a href="newslinkpage.php" title="link to news articles pages">More articles</a></p> <?php } ?>
  16. $totalRows_Recordset_access_level You are comparing to the wrong variable. totalRows is just that. It is the count of rows found. If you want to check against the value then it would be something like <?php if ($row_access_level['user_level'] == "reg_lev_user_1")
  17. You could stick a foreach loop in to check what session variables are set <?php session_start(); $_SESSION['name'] = 'Joe Bloggs'; $_SESSION['content'] = 'test'; ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Untitled Document</title> </head> <body> <?php foreach($_SESSION as $key => $val){ echo "$key: $val <br>"; } ?> </body> </html>
  18. Also check what you host supports. You could setup a cron job to run every 24 hours which will run the function to check and delete memberships.
  19. Also most hosts will not allow a root user. You need to set up a new user in the database.
  20. Have you created a site? Have you created a testing server for PHP? You can do both from Site>manage Sites on the menu bar
×
×
  • 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.