Jump to content

RobDgital

Members
  • Content Count

    11
  • Joined

  • Last visited

Community Reputation

0 Neutral

About RobDgital

  • Rank
    Member

Profile Information

  • Gender
    Not Telling
  1. Many thanks Kicken! Your explanation makes a ton of sense with the anser as well. I really appreciate this
  2. Hi all. After being away from coding and trying this for a while I have been asked to assist someone with something and I am not winning.....or understanding how to check the form validation coming though. The 'friend/client' needs to check that the form field filled in begins with 'DT' (either upper case or lower case) can have a space(or not) then a series of 7 numbers. For example 'DT 1234567' or 'dt1234567' I am really not understanding how to do this. I have started with some sample code /** * Validate UM DT Number field for registration dt_number2 * @param string $key * @para
  3. Appreciate the pointer on prepared statements, used, and had success!
  4. Thanks Guru The dumping of the is only for when in dev stages, if i put it live, i delete this
  5. Thank you for you answer Master Coder. If I hard code the variable in it still gives me errors, so I am baffled, there is a parameter value
  6. Hi all. I am really battling with stupid things, and I can not see my errors. I am trying to display records from my db, but to no avail. Please can someone see my error... My conn code is as follows: <?php $proId = $_GET['profileId']; $postId = $_POST['postedId']; $servername = "localhost"; $username = "findo_aniuser"; $password = "111lmx333AO!"; $dbname = "findo_animals"; // Create connection $conn = new mysqli($servername, $username, $password, $dbname); // Check connection if ($conn->connect_error) { die("Connection failed: " . $conn->connect_error); } $sql =
  7. Thanks a ton mac_gyver Must have pondered it for 40 minutes. Stupid mistake
  8. Please could someone PLEASE tell me why I am not getting this $_POST[] variable from this form <form style="padding-top:30px;" action="petdetails.php" method="post" name="finder"> <fieldset> <div class="form-group"> <label for="postedId">QRCode</label> <input type="text" class="form-control" id="postedId" placeholder="QR Code" /> </div> <button type="submit" class="btn btn-info">Submit Code</button> </fieldset> </form> I am trying to pick it up on the relevant page with this $bobby = $_POST['poste
  9. I appreciate your help GURU! Looking into it now. Much appreciated
  10. Please can someone guide me, I can not find an answer to my dilemma. I have a client who has created QR codes in the format www.myurl.com/12345 There are 100 codes created like this. They want each to point to a profile. IF this had been done in this format www.myurl.com/profile.php?no=12345 I would have no issue, but....unfortunately...I am stumped on how to do this with php. Please any help or guidance will be appreciated
×
×
  • 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.