Search Results - VBForums

Search:

Type: Posts; User: menre

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    527

    Re: Different results for PHP and MySQL

    Thanks everyone for your help and advise. It is now working.
  2. Re: Images from left to right inside a table

    You can use some CSS syntax and HTML elements to achieve that. Have you tried it?
  3. Replies
    4
    Views
    527

    Different results for PHP and MySQL

    Hi Folks,

    I have a query that I am running. When I run the query in PHP it give me '26721' as the total result, but when I run it in PHPMyadmin it gives me '25168' as total.

    The MySQL code I...
  4. Re: Extracting variables from a URL and displaying it

    I am still on this task.

    I have been able to solve part of my original problem with the code below.

    [code]
    <!doctype html>
    <html lang="en">
    <head>
    <title>Extracting variables from a URL and...
  5. Re: Extracting variables from a URL and displaying it

    Thanks for your response. This is not a school assignment. It is something that I am working on. I want to be able to monitor discussion between forum members. That is, find out which member has...
  6. Re: Extracting variables from a URL and displaying it

    Thanks for your quick response. "Are you users pasting the URLs in a form and you want the script to extract the information from a string (or in the case above an array)."

    That is the case. I...
  7. Extracting variables from a URL and displaying it

    Hi Folks,

    My project is to track users in a discussion group (which user sends a post and who responds). It is like a forum board please.

    I want to be able to use PHP to extract variables and...
  8. Thread: Files not opened

    by menre
    Replies
    16
    Views
    2,652

    Re: Files not opened

    Thanks again I haven't got PDO installed. That could certainly be anong the reasons why it is not working yet. But I will appreciate another code for the purpose of registering and logging in on a...
  9. Thread: Files not opened

    by menre
    Replies
    16
    Views
    2,652

    Re: Files not opened

    Hello Again,

    Thanks all for your help so far. I was actually looking for PHP/MySQL code to create a Login/Register page. Can you direct me to any good code that I can grab and use, please?

    I...
  10. Thread: Files not opened

    by menre
    Replies
    16
    Views
    2,652

    Re: Files not opened

    Hello Again,

    Thanks for the suggestion. I tried it but got another error message which is posted below.

    "Fatal error: Undefined class constant 'MYSQL_ATTR_INIT_COMMAND' in...
  11. Thread: Files not opened

    by menre
    Replies
    16
    Views
    2,652

    Re: Files not opened

    Thanks for your quick response. I pay for my shared hosting server and the company happens to be using old technologies for its shared hosting customers. I would have loved to upgrade, but I have no...
  12. Thread: Files not opened

    by menre
    Replies
    16
    Views
    2,652

    Re: Files not opened

    Yes, the two files are in the same folder.

    I ckecked the version of PHP that my server is using and it shows 'PHP Version 5.2.9'. Which means, it may not be the right one. How can I correct this...
  13. Thread: Files not opened

    by menre
    Replies
    16
    Views
    2,652

    Re: Files not opened

    Hello,
    As always your reply was much appreciated. That was not actually the main.php file that I sent before. I am sending you the main.php file now please.
    [QUOTE]
    <?php

    /**
    * Include the...
  14. Thread: Files not opened

    by menre
    Replies
    16
    Views
    2,652

    Re: Files not opened

    Thanks for your response to my post. The file are very many. I got them from a tutorial on the net about how to create a user register/Sign up/LOGIN page. However, this is the code for the page that...
  15. Thread: Files not opened

    by menre
    Replies
    16
    Views
    2,652

    Files not opened

    Hi All,

    I have some errors regarding files that I have just uploaded to the server, but I can't figure out where the errors are. The error and warning I am getting are pasted below. But I uploaded...
  16. Re: Why an extra number with WHILE function results?

    Thanks a lot.
    Menre
  17. 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
  18. 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...
  19. Re: GD and Image function: But nothing displays on the screen

    Thanks a lot. That actually solves the problem.

    Menre
  20. Thread: PHP video's

    by menre
    Replies
    3
    Views
    1,109

    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...
  21. Replies
    1
    Views
    1,755

    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.
  22. [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...
  23. Thread: OOP error

    by menre
    Replies
    4
    Views
    1,075

    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.
  24. 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.
  25. 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...
  26. Thread: OOP error

    by menre
    Replies
    4
    Views
    1,075

    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...
  27. Thread: OOP error

    by menre
    Replies
    4
    Views
    1,075

    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...
  28. 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...
  29. 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...
  30. 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...
  31. 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...
  32. Replies
    4
    Views
    857

    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:
  33. Replies
    4
    Views
    857

    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...
  34. Replies
    2
    Views
    959

    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'...
  35. Replies
    2
    Views
    959

    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.
    ...
  36. 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...
  37. 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...
  38. 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...
  39. Replies
    1
    Views
    1,054

    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...
  40. Replies
    3
    Views
    1,533

    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
Results 1 to 40 of 150
Page 1 of 4 1 2 3 4



Featured


Click Here to Expand Forum to Full Width