Search:

Type: Posts; User: menre

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Re: Why an extra number with WHILE function results?

    Thanks a lot.
    Menre
  2. Re: Why an extra number with WHILE function results?

    Hi,

    Thanks for your response to my message. I got your explanations. But how do I get around this problem now? Any solution, please?

    Thanks,
    Menre
  3. Why an extra number with WHILE function results?

    Hello Folks,

    I used a piece of code to test the square root of some numbers in a JAVA application using 'DO' 'WHILE' functions and everything worked well. So, I decided to do the same thing using...
  4. Re: GD and Image function: But nothing displays on the screen

    Thanks a lot. That actually solves the problem.

    Menre
  5. Thread: PHP video's

    by menre
    Replies
    3
    Views
    578

    Re: PHP video's

    PHP code can be embedded into an HTML web page. So, you would actually need to have a basic knowledge of HTML first. However, a simple HTML page template like the one below is enough to start...
  6. Replies
    1
    Views
    867

    Re: Try It Yourself Editor

    I personally don't know the error you are getting with your code and you didn't say it either.
  7. [RESOLVED] GD and Image function: But nothing displays on the screen

    Hello Folks,

    I am just trying out some piece of code relating to GD and image functions on the PHP.net website. I was expecting something to appear on the page when it is executed, but nothing...
  8. Thread: OOP error

    by menre
    Replies
    4
    Views
    597

    Re: OOP error

    I agree with you that the class doesn't actually add any value to the code. I just prefer a simple way of making the MySQL database connection.
  9. Re: Accessing another table from within xsl:for-each

    I would expect forum members to respond to your question quickly if they can read a piece of your code. Describing the problem alone is not enough to get a quick response.
  10. Re: Accessing another xml file from within xsl:for-each

    It is possible to do what you are attempting to achieve. I wish there was a chunk of your code. However, take a look at the Zvon website
    http://zvon.org/xxl/XSLTutorial/Books/Book1/index.html for...
  11. Thread: OOP error

    by menre
    Replies
    4
    Views
    597

    Re: OOP error

    Thanks for your response. I tried following your advice and doing it the way they suggested, but got the same error message 'No database selected'. I even tried copying and modifying their code to...
  12. Thread: OOP error

    by menre
    Replies
    4
    Views
    597

    OOP error

    Hi Folks,

    I am trying to use a class for my database log in details in the OOP way, but when I instantiate the class in my work, I get an error message that 'No database was selected'. My code...
  13. Re: Send form to two places to capture data from a user registration form?

    I am kind of lost here for two main reasons please. I have had a look at the area you pointed out. I took the quotes around the number "1" out.

    <?php...
  14. Re: Currency symbols don't display in database results

    Yes, that has actually solved the problems. Entering code like
    &pound;
    &euro;
    &yen;
    and so on to represent the data in the database is the trick to get those currency symbols.

    Thank you very...
  15. Currency symbols don't display in database results

    Hello,

    I have data in a MySQL database with currency symbols used. But when I display the results on a web page, only the '$' symbol displays with the amount correctly. I get results like the ones...
  16. Re: Send form to two places to capture data from a user registration form?

    Alright, I will split the file later and place the connection details, etc in separate files. I only put everything in one file for now just for you to see where I am going wrong.

    I have made some...
  17. Replies
    4
    Views
    529

    Re: Displaying results based on user selection

    Thank you very much everyone for your help and suggestions. The code you corrected worked very well. I will now consider PHP and MySQL for further and related tasks.
    Once again, thanks.:check:
  18. Replies
    4
    Views
    529

    Displaying results based on user selection

    Hello,

    I am working with a form whereby results will be displayed based on the day that a user has selected from a dropdown list.

    For example, if a user selects Monday or Sunday, the group that...
  19. Replies
    2
    Views
    527

    Re: Multiple radio buttons selected

    Thanks a lot. That has actually fixed the problem as you can see below.:check:


    <?php
    define("america","<form><input name='5' type='radio' value='5'>$5<br/>
    <input name='5' type='radio'...
  20. Replies
    2
    Views
    527

    Multiple radio buttons selected

    Hello Folks,

    Can someone help me out here please.

    I am using the PHP define function and everything is displaying as intended except that all the radio buttons can be selected instead of one.
    ...
  21. Re: Send form to two places to capture data from a user registration form?

    Hello,

    Thanks for your message and suggestions.

    The examples on that link for creating a form were really easy to understand and follow.

    But when I tried applying their techniques to solve...
  22. Re: Send form to two places to capture data from a user registration form?

    Hello,

    Thanks for the response. Firstly, I am glad you understand my problem and know how to fix it (as you said it is doable). I actually thought about jQuery but could not get my head around it...
  23. Send form to two places to capture data from a user registration form?

    Hello Folks,

    Can somebody help me out please?

    I want to create a registration form so that when a use clicks send, it will go to two different applications. I do not really know if this is...
  24. Replies
    1
    Views
    641

    Re: PHP Book with emphasis on DDD, TDD, etc

    Hi,

    Type "a good php book on DDD and TDD" on google and you will get a list of books on that topic.

    The book "Practical PHP Testing by Giorgio Sironi , 2009" is a good book on those topics to...
  25. Replies
    3
    Views
    843

    Re: Login page: PHP header erorr

    Thanks everyone. I have fixed the error by removing the space and following your suggestions. Very many thanks. Menre
  26. Replies
    3
    Views
    843

    Login page: PHP header erorr

    Hi Folks,

    I am having trouble with my phph login page. When I enter the correct username and password, I get the error message below.


    Warning: Header may not contain more than a single...
  27. Re: [RESOLVED] Echoing conditional messages once

    I will always do that from now on. Thanks.
  28. Re: Echoing conditional messages once

    Thanks a lot. I have deleted the for loop and that solved the problem.

    The right code is now



    <?php
    $accountBalance = 560;
    $cost = 123;
    $pay = $accountBalance - $cost;
  29. [RESOLVED] Echoing conditional messages once

    Hi Folks,

    I created this code below that I want to use in a for loop statement with an if statement. This might not be the best way to go about it, but it does work somehow. However, I have a...
  30. Replies
    3
    Views
    764

    Re: URL base32 extension

    Thanks for your responses. Both of you have an idea of what I want to do and how to go about it. I will have to post a snippet of the problem at hand then so that you can help me better.
  31. Re: How to set Webkit animation speed using CSS?

    As someone has rightly said, it would help if you posted your code. However, I have written a piece of CSS3 Animation code that I think might solve your problem. The code is posted below. Please,...
  32. Replies
    1
    Views
    424

    Re: Help! Web Programming using HTML and CSS

    Do you understand exactly what you have been asked to do? If yes, what have you done so far? Your post does not really say much about what kind of problem you are trying to solve. Or did I fail to...
  33. Replies
    3
    Views
    764

    URL base32 extension

    Hi Folks,

    I do see some websites with extensions such as the one below where extra numbers and letters possibly on base 32 have been added to the URL.

    ...
  34. Replies
    9
    Views
    770

    Re: Plotting a quick User Interface to code php

    You have been given the best advice so far. Hand-coding it yourself helps you understand the code better than when you rely too much on those WYSIWYG editors. They do help, but not always the best...
  35. Thread: W3Schools

    by menre
    Replies
    7
    Views
    1,388

    Re: W3Schools

    The W3schools' examples and tutorials are over simplified thus missing the point. They mentioned at the footer of their home page what they do and how they do it. The content of their site are...
  36. Replies
    3
    Views
    928

    Re: how to execute phpinfo.php function

    I tried that piece of code <?php phpinfo(); ?> on MAMP (ZAMPP) and it worked for me. As someone has already suggested, try ZAMPP. I find it easier to use especially for beginners of PHP and MySQL...
  37. Replies
    5
    Views
    962

    Re: Undefined index error

    Hi Everyone,
    Thanks for your advice and responses. They all really helped me out. it is working now. I did it the way you adised and everything is now fine. There were a few other errors and I was...
  38. Replies
    5
    Views
    962

    Re: Undefined index error

    Hello,

    Thanks for your response to my message. I do not normally like to be spoon-fed. When you say, "Undefined index" means that you're trying to access an element in an array that does not...
  39. Replies
    5
    Views
    962

    Undefined index error

    Hi All,
    I am having an undefined index error when I preview my code and have had a look at the code over and over again, but still cannot identify my error. Could someone look at it for me please? ...
  40. Replies
    9
    Views
    1,646

    Re: Parse error: syntax error, unexpected T_INC,

    Hello Folks,
    Thanks for your responses and suggestions tomy problems. I have been trying to solve the problem on my own but it is not over yet and I will appreciate further help please.

    The code...
Results 1 to 40 of 135
Page 1 of 4 1 2 3 4