www.webdeveloper.com

Search:

Type: Posts; User: fagin

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    1,069

    Solved

    thanks for your response. talking about putting it in the loop got me to thinking...and here is the code that works.

    I added these also:
    $first_name = $_POST['first_name'];
    $last_name =...
  2. Replies
    2
    Views
    1,069

    Need help with insert form

    Hi,

    I have the insert form below which works just fine except for the if else condition.
    If the name already exists, i'd like it to echo name already exists.
    I know that I am doing something...
  3. Replies
    2
    Views
    1,504

    Thanks for responding. I just solved it. ...

    Thanks for responding. I just solved it.


    $writer_thought = mysql_real_escape_string($writer_thought);

    $sql = "INSERT INTO $table (writer_thought,
    ....)

    VALUES ('$writer_thought,
    .....
  4. Replies
    2
    Views
    1,504

    double quotes inserts in MySql

    HI,

    Does anyone know how to get double quotes to insert into database?

    I use
    $writer_thought = mysql_real_escape_string($writer_thought);

    But it only works for the single quotes. All...
  5. Thread: PHP 5.2 to 5.3

    by fagin
    Replies
    11
    Views
    2,078

    Not quite sure I understand your request. I...

    Not quite sure I understand your request.
    I don't know PHP well enough to give a tutorial of any kind. I'm a noobie.
    But if you mean the steps I took to upgrade the software from PHP 5.2 to PHP...
  6. Thread: PHP 5.2 to 5.3

    by fagin
    Replies
    11
    Views
    2,078

    Thanks NogDog, I'm glad I was able to fix it...

    Thanks NogDog,

    I'm glad I was able to fix it on my own. I couldn't afford a reputable, trustworthy developer to fix it.
    I tried to hire someone via a website where developers from beyond the...
  7. Thread: PHP 5.2 to 5.3

    by fagin
    Replies
    11
    Views
    2,078

    Hi again everyone, I was able to successfully...

    Hi again everyone,

    I was able to successfully update my software from PHP 5.2 to 5.3 with the help of this manual http://www.php.net/manual/en/migration53.deprecated.php

    There was just one last...
  8. Thread: PHP 5.2 to 5.3

    by fagin
    Replies
    11
    Views
    2,078

    To be honest, I don't know if it's a windows or a...

    To be honest, I don't know if it's a windows or a linux server. Though, I believe you are right about my hoster updating the MySQL at the sametime they migrate PHP 5.2 to 5.3.

    It turns out that I...
  9. Thread: PHP 5.2 to 5.3

    by fagin
    Replies
    11
    Views
    2,078

    That's what someone else told me- that it is a...

    That's what someone else told me- that it is a MySQL error. Although, those same errors did not exist when it was in the PHP 5.2 server.

    Sheesh. It's frustrating to be a NOOBIE learning PHP when...
  10. Thread: PHP 5.2 to 5.3

    by fagin
    Replies
    11
    Views
    2,078

    Thanks for your reply. I didn't really think...

    Thanks for your reply.
    I didn't really think that it was as simple as replacing the syntax...was just laying out my level of ignorance in the field, really:confused:

    Well, the very first error I...
  11. Thread: PHP 5.2 to 5.3

    by fagin
    Replies
    11
    Views
    2,078

    PHP 5.2 to 5.3

    Hi,


    I bought a little software 4 years ago which I really like. It was written for the PHP 5.2 server.

    I use to be able to install it and run it on my hosting server, but now errors are...
  12. Replies
    3
    Views
    746

    $Users=mysql_query( "SELECT * FROM " ....

    $Users=mysql_query( "SELECT * FROM " . $table_customer . " WHERE groupid = '" . $pidgroup . "' ")

    Super!!! Thanks. This works!
  13. Replies
    3
    Views
    746

    drop-down select issue

    Hi, can anyone tell me why $pidgroup (below) will only work when it's an integer and it won't work with varchar?

    for example , it works if groupid = 9600
    But won't work if groupid = red group
    ...
  14. Replies
    4
    Views
    850

    problem solved!

    Oops!

    Sorry y'all

    There was nothing wrong with my $daylog = mysql_real_escape_string($daylog);

    I just was adding it to the wrong table!

    Too many tables on one page and not enough coffee!
  15. Replies
    4
    Views
    850

    when I echo $daylog, the quotes and apostrophes...

    when I echo $daylog, the quotes and apostrophes appear alright on the pre-insert page...it just won't insert into the database

    anything else without the quotes insert into the database perfectly...
  16. Replies
    4
    Views
    850

    single quote insert problem

    Hi,

    can anyone help? I can't seem to get the single quotes to insert in a (daylog)textarea. I'm using the $daylog = mysql_real_escape_string($daylog);...am I missing something? Thanks much in...
  17. Replies
    0
    Views
    888

    style border-collapse

    Hello,

    can someone help? How do I add a "border-collapse:collapse" modification in the script below? Thanks much!



    // call function to draw calendar
    drawCal(firstDay + 1, days, date,...
  18. Thread: php echo $txt...

    by fagin
    Replies
    4
    Views
    1,791

    Tried that. Didn't work either. My other forms...

    Tried that. Didn't work either.

    My other forms are working fine - with error reporting using <?php echo $txt["providename"]" ?>

    I am testing this form found @...
  19. Thread: php echo $txt...

    by fagin
    Replies
    4
    Views
    1,791

    I did that but it didn't work. When I test it,...

    I did that but it didn't work. When I test it, the error message doesn't show.
    I just get a blank white space.
  20. Thread: php echo $txt...

    by fagin
    Replies
    4
    Views
    1,791

    php echo $txt...

    Hello,

    am hoping someone here could help me. In the code below:


    //name validations
    if(empty($_POST['name']))
    {
    $this->add_error("Please provide your...
  21. Thread: $mail_content

    by fagin
    Replies
    4
    Views
    790

    Great that worked! Thanks alot!

    Great that worked!

    Thanks alot!
  22. Thread: $mail_content

    by fagin
    Replies
    4
    Views
    790

    Hello, Thanks. I tried it these ways: ...

    Hello,

    Thanks. I tried it these ways:

    putting is after ".$txt["hello"]." ".$receiver." "\n" ".$txt["your_access_code"]."...

    putting is after ".$txt["hello"]." ".$receiver." ".\n."...
  23. Thread: $mail_content

    by fagin
    Replies
    4
    Views
    790

    $mail_content

    Hi,

    my question is regarding the following code


    $mail_content = "".$txt["hello"]." ".$receiver.", ".$txt["your_access_code"]."".$txt["your_login_id"]." ".$receiverEmail." ...
  24. Thread: Insert command

    by fagin
    Replies
    9
    Views
    1,338

    I think I'm lost here...I'm just learning PHP on...

    I think I'm lost here...I'm just learning PHP on my own. Recently downloaded xampp and testing codes from tutorials I find on the net or my php for dummies book....


    the feedback numbers aren't...
  25. Thread: Insert command

    by fagin
    Replies
    9
    Views
    1,338

    the form is below. it's the part in italics that...

    the form is below. it's the part in italics that won't post...actually it posts a "0" instead of the option selected - I've switched the db table type from text to varchar to int....none will work
    ...
Results 1 to 25 of 33
Page 1 of 2 1 2
HTML5 Development Center



Recent Articles