The problem with this code is that there are no errors showing, but when i compile the program, the if else statements do not carry out as they should do. Both if statements show the same answer, for example the second if statement. If I type Y or N then I get the same thing, 'You will now choose an event'. How do i get rid of this problem? Is char supposed to be used or string?
Can you add IF statements to this piece of PHP code?
Hi,
I have developed a search tool using PHP. The uses what's typed into a search box to replace part of a URL.
I am wondering if anyone can help me add IF statements to this function.
The user can search for ISBN numbers, which have to be 10 characters long. I would like a feature that tells them this if they don't type in a valid ISBN number.
Hello,
I'm working on a search form. I have 3 combo boxes and I want to find combinations on a query to later show it in a report. Perhaps this is too complicated but I don't know how else to do it. I thought this code worked at first, but then a realized it wasn't really working. I know something is up with the if statements but I don't know how to fix it.
Code:
Private Sub Findbtm_Click()
If Me.CompanyCell.Value = ""
I've read countless times, and in fact used it correctly, that you can use boolean logic in an if statement to test whether a string is equal to another string, although my compiler (visual studio 2005) just skips over this particular if statement.
this is a snippet of the code:
printf("Encrypt : file encryption program. Type h for help.");
do
{
printf("\n>> ");
fgets(init,...