Goto Page: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
Actual Results
- wpas
- Foro: Programming / Scripting / Coding Forum
- Tema: PHP script to determine if letter Y is a consonant or vowel
- Subject: PHP script to determine if letter Y is a consonant or vowel
- Respuestas: 33
- Vistas: 14089
Posted: Diciembre 22nd, 2012, 10:21 pm
I figured if I dug enough, I would eventually find a general consensus on how to determine when the letter Y was a vowel or a consonant. Fortunately for me, it agreed with the rules I plan to use. The following is what I found: If a syllable begins with Y, and the next letter represents a vowel, the...
- wpas
- Foro: Programming / Scripting / Coding Forum
- Tema: PHP script to determine if letter Y is a consonant or vowel
- Subject: PHP script to determine if letter Y is a consonant or vowel
- Respuestas: 33
- Vistas: 14089
Posted: Diciembre 22nd, 2012, 2:44 pm
I ran your new script and based on new rules in my previous post the following needs changing: kay: y stated as vowel but should be consonant may: y stated as vowel but should be consonant kuykendahl: y stated as vowel but should be consonant murray: y stated as vowel but should be consonant I inves...
- wpas
- Foro: Programming / Scripting / Coding Forum
- Tema: PHP script to determine if letter Y is a consonant or vowel
- Subject: PHP script to determine if letter Y is a consonant or vowel
- Respuestas: 33
- Vistas: 14089
Posted: Diciembre 22nd, 2012, 2:34 pm
Hey ScottG After going over everything carefully, I had been wrong in a few areas. After hours of investigating, I believe the following is probably the most correct for the letter y. 1. words with "oy" the letter y is a vowel e.g. boy, joy, toy, roy 2. words with ay, ey and uy the letter ...
- wpas
- Foro: Programming / Scripting / Coding Forum
- Tema: PHP script to determine if letter Y is a consonant or vowel
- Subject: PHP script to determine if letter Y is a consonant or vowel
- Respuestas: 33
- Vistas: 14089
Posted: Diciembre 22nd, 2012, 12:33 am
hey scottG
In my rush to set down some rules, I may have mixed things up a bit.
When you have a working script, please advise and then I will test carefully what you have.
Thanks
In my rush to set down some rules, I may have mixed things up a bit.
When you have a working script, please advise and then I will test carefully what you have.
Thanks
- wpas
- Foro: Programming / Scripting / Coding Forum
- Tema: PHP script to determine if letter Y is a consonant or vowel
- Subject: PHP script to determine if letter Y is a consonant or vowel
- Respuestas: 33
- Vistas: 14089
Posted: Diciembre 21st, 2012, 11:12 pm
The more I dig into this, the more differing opinions I get, even why I contacted some english teaches. To try an narrow this done I have come up with 2 things that I was given that I will use as a basis for testing. Rule 1 If you replace the letter y with the sound /j/ and the word sounds almost th...
- wpas
- Foro: Programming / Scripting / Coding Forum
- Tema: PHP script to determine if letter Y is a consonant or vowel
- Subject: PHP script to determine if letter Y is a consonant or vowel
- Respuestas: 33
- Vistas: 14089
Posted: Diciembre 21st, 2012, 8:11 pm
I tried the word boy as another check which should have been a vowel but it was stated as a consonant.
- wpas
- Foro: Programming / Scripting / Coding Forum
- Tema: PHP script to determine if letter Y is a consonant or vowel
- Subject: PHP script to determine if letter Y is a consonant or vowel
- Respuestas: 33
- Vistas: 14089
Posted: Diciembre 21st, 2012, 7:59 pm
Hi ScottG Got a response from Germany that snuck into our post Moderator should have a look at this. Anyways, I downloaded you file and was able to open it and test it out. It gave the letter y in some cases as a vowel when it should have been a consonant. I used the following to test for y being a ...
- wpas
- Foro: Programming / Scripting / Coding Forum
- Tema: PHP script to determine if letter Y is a consonant or vowel
- Subject: PHP script to determine if letter Y is a consonant or vowel
- Respuestas: 33
- Vistas: 14089
Posted: Diciembre 21st, 2012, 12:54 pm
ScottG
Downloaded test.zip but get error when try to open
Error: central directory not found
Downloaded test.zip but get error when try to open
Error: central directory not found
- wpas
- Foro: Programming / Scripting / Coding Forum
- Tema: PHP script to determine if letter Y is a consonant or vowel
- Subject: PHP script to determine if letter Y is a consonant or vowel
- Respuestas: 33
- Vistas: 14089
Posted: Diciembre 20th, 2012, 1:40 pm
Here is what I have been able to do so far: [code] <?php echo "<br />"; $firstname = "BARBARA"; $middlename = "ANN"; $lastname = "KELLY"; echo "Name : ".$firstname." ".$middlename." ".$lastname; ec...
- wpas
- Foro: Programming / Scripting / Coding Forum
- Tema: PHP script to determine if letter Y is a consonant or vowel
- Subject: PHP script to determine if letter Y is a consonant or vowel
- Respuestas: 33
- Vistas: 14089
Posted: Diciembre 20th, 2012, 12:49 pm
Hi All If a name or word contains the letter y, I need to determine if it is a vowel or a consonant. Here is what I grammatically know, assuming I am correct. It may sound a bit winded so sorry about that. The letter y is a consonant when it is the first letter of a syllable that has more than one l...
- wpas
- Foro: Website Design Forum
- Tema: My blog with a different URL
- Subject: My blog with a different URL
- Respuestas: 1
- Vistas: 462
- Subject: My blog with a different URL
Posted: Diciembre 18th, 2012, 10:52 pm
Hi All I have a blog at http://websiteprotection.blogspot.ca/ As I was surfing the net I came across another blog with URL http://websiteprotection.blogspot.hk/ When I went to the blog, it was identical to mine. The main difference was that it had some links in Chinese to other websites. I was reall...
- wpas
- Foro: Programming / Scripting / Coding Forum
- Tema: Help with PHP script
- Subject: Help with PHP script
- Respuestas: 15
- Vistas: 5156
- Subject: Help with PHP script
Posted: Diciembre 11th, 2012, 2:45 pm
Hey, you are right
I went back and redid the code again.
I must have somehow got your first version and second version screwed up when I did the changes.
Works perfectly without middle name.
Thanks and sorry
I went back and redid the code again.
I must have somehow got your first version and second version screwed up when I did the changes.
Works perfectly without middle name.
Thanks and sorry
- wpas
- Foro: Programming / Scripting / Coding Forum
- Tema: Help with PHP script
- Subject: Help with PHP script
- Respuestas: 15
- Vistas: 5156
- Subject: Help with PHP script
Posted: Diciembre 11th, 2012, 6:26 am
Hi ScottG I have been testing using firstname, middlename and lastname and it works perfectly. I just noticed that if I use only firstname and lastname, no middlename, I get the following warning: Warning: key() expects parameter 1 to be array, null given in /home/... Looks like you must put in a mi...
- wpas
- Foro: Programming / Scripting / Coding Forum
- Tema: Help with PHP script
- Subject: Help with PHP script
- Respuestas: 15
- Vistas: 5156
- Subject: Help with PHP script
Posted: Diciembre 10th, 2012, 1:33 pm
Again, great stuff
You gave me what I wanted and read my mind.
Being able to get the value of each letter was actually something I was also thinking about.
Thanks for your great help.
You gave me what I wanted and read my mind.
Being able to get the value of each letter was actually something I was also thinking about.
Thanks for your great help.
- wpas
- Foro: Programming / Scripting / Coding Forum
- Tema: Help with PHP script
- Subject: Help with PHP script
- Respuestas: 15
- Vistas: 5156
- Subject: Help with PHP script
Posted: Diciembre 10th, 2012, 11:30 am
Hi ScottG Great Work! If I use echo $table2[0]['total'] I get Total of 11 which is good How would I also show the letters in the row The key seems dependant on the letters of the first, middle and lastname which I would not know for the other rows What I would like then is to be able to get the foll...
