Hi all, I need to make a function that convert a string into a certain format. Here what are the restriction:
-The first letter of the first and last name must be uppercase.
-If a first name contains only 1 character, a '.' must follow the char.
-If we find a character that isn't a letter...
2. you don't call the function at all. The loop just contains a prototype."
Sorry I don't think I understand the term prototype, or at least it's meaning in this language. How do I call my function correctly then ?
So it's better to use a temp book (declared as "BOOK book;") and make the...
Hey thanks a lot Salem, now I'm starting to understand a lot more ! Anyway I changed my code with your advices in mind and still have 1 small problem. When saying:
books[num_books] = bookInfo;
I get an error "illegal use of this type as an expression". Still trying to figure whats incorrect...
Hi all. I'm currently working on a small project which consists of reading struct from a file. The file contains info on separated lines and each bunch of 6 lines form a struct. I have some little problems and if anyone could help me I would really appreciate !
Currently I have 2 problems when...
Hi all, I'm starting to learn the C language and having a hard time finding help for what I'm doing.
My program handle books' informations. I have a struct containing different fields for each information (title, autor, subject, etc).
I need to create a recursive fonction that goes through a...
The form isn't submitted because when I test printing the usrcode in the frame, it's always null. Maybe it's not sent at the right place, maybe it isn't sent correctly... My main page's URL doesn't change, but it reload with any changes.
Hi again,
as I said, I'm trying to send a usercode variable via a submit button from my from to an IFRAME, so when the frame reload my PHP fonction is executed and print the returned values in the IFRAME. It didn't worked in my previously that's why I'm asking again.
This is my form:
<form...
Thanks kaht, my bad now it works.
The only thing is that I need the textbox value to execute a PHP script and return some value in my iframe, and with your solution the value is passed directly to the field.
Any ways I could send the value and refresh my iframe so it execute my PHP function ...
Hi all,
I'd like if anyone can help me to figure out how to pass data from a field of a form to an IFRAME. Right now I have a page with a list of user and when I click on the submit button, I'd like to load the IFRAME (which execute a SQL query via a PHP function to return some informations on...
Hi again everybody,
while working on a project I ran into a problem that keep me from finishing what I'm trying to do. I haven't received a LDAP formation so my question might seems stupid, but I will take all the help I can get.
I have a PHP-HTML web page wich contains a list, a "Add button"...
Hi all,
I've run in a little problem this morning and wasn't able to find the answer so far, so I hope you guys can help me.
I'm trying to do a ldap_bind then test the value of the bind to make the authentication, but the the bind always return nothing (isn't it supposed to return true or...
What I'm trying to do is to build a string that will print all the presences of a user for a session. My problem is that I'd like to put the - value when the pr_presence isn't True or False but right now it only returns pr_presence when it contains a boolean value. This way I can't treat the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.