Jump to content

point86

Members
  • Posts

    22
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

point86's Achievements

Member

Member (2/5)

0

Reputation

  1. Hi, Is there any way to access a Microsoft Access Database through a HTML browser? I.E. I have a database and want to search and edit records through Internet Explorer without PHP/Javascript etc. Is this possible with HTML? Thanks, Point.
  2. Thanks, that's fantastic Point.
  3. Ok thanks, this works fine: I've split the string successfully. Now if the string was made up of ASCII characters (eg 66 67 68 69), how do I get the system to convert these into normal character values (eg B C D E)? Thanks P86.
  4. Hi, I have a string, retrived via $file = $_GET['filename']; Now, how to I create a condition (preferably a loop) that says 1. read through the string, letter by letter 2. if (letter in question = "X") {do Y} else {do X} Thanks P86
  5. Hi, I have a string, "$string1" the contents of which is, say, "ARTWISKXJAMAKFPXIO" Now I need a loop that reads through the string, and after every two characters, makes a space. Thus, the resultant output will be $string1afterwards = "AR TW IS KX JA MA KF PX IO" Any ideas? Thanks P86.
  6. Hi, If I have read in a file, which I then convert into a string (say "string1"), how do I make a loop that goes through the string, makes all the letters capitals and writes all the LETTERS (not spaces, periods etc) into a new string ("string2")? Thanks Point.
  7. Worked great, thanks! P86.
  8. Hi, I have a string: $query = $_GET['words']; Where words are terms inputted by the user. IE $query will be something like 'hello how are you'. How do I get the system to search the string 'hello how are you' for SPACES (" ") and assign the number of spaces to a variable? EG in the string 'hello how are you', the number of spaces would be 3, and this would be assigned to eg $spaces. Thanks P86.
  9. Thanks very much; what do you mean by "value_here"? P86.
  10. Hi. I have a system where the user types things into a few form boxes, and then the system does things accordingly. My problem is as follows. I have a checkbox, defined in index.php as: <input type="checkbox" name="check1" value="" id="check1" onchange="checkcheck(this);"> var ischecked = false; function checkcheck(cbObj) { ischecked = cbObj.checked; } Now in my search.php file (the back-end of index.php), I want the system to do the following: 1. look to see if the index.php checkbox has been ticked by the user 2. if it isn't, just run the system as normal 3. if it is checked, do X instead. How do I do this? I am quite new to PHP so if you could explain things as clearly as possible it would be appreciated!! Thanks! P86
  11. This is great. Now how would I apply this so I could use it in a seperate PHP script within the same directory? Thanks P86
  12. Hello, Basically I have a HTML checkbox: <input type="checkbox" name="check1" value="" id="check1"> How do I make it so that when the user checks the checkbox, a predefined variable (eg "var ischecked" is changed? Thanks P86.
  13. The user won't ever enter a "." or a "*". I have the string bit sorted. I basically need a glorified "if" function in PHP that takes the string, reads through it and says; "Read through the string and do something (X). when you come to ".", do something different (Y) and when you come to "*", do something different (Z). ie. Do (X) if (you see a ".")   { do Y } if (you see a "*")   { do Z } Thanks, Point.
×
×
  • 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.