www.webdeveloper.com

Search:

Type: Posts; User: mfredy92

Search: Search took 0.01 seconds.

  1. I am guessing your meant to declare the variable...

    I am guessing your meant to declare the variable $query, so for example your code would be



    As I looked throught your code I found that you have not declared the variable $query. It should work...
  2. Replies
    0
    Views
    1,673

    Shopping cart not working properly

    Hello Everyone,

    I have been trying to get this shopping cart working for a while but I honestly do not know where the problem is. Either I am not creating the seseions properly. However, my...
  3. Replies
    29
    Views
    2,109

    OH MY GOD!!! I GOT NEWS THAT TABLE...

    OH MY GOD!!! I GOT NEWS THAT TABLE EXISTSSSSSSSSSSSSSSSSSSSSSS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    CREATE TEMPORARY TABLE IF NOT EXISTS temp(
    temp_id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY ,...
  4. Replies
    29
    Views
    2,109

    Sir I just realised something.Umm..no matter what...

    Sir I just realised something.Umm..no matter what I call my temporary table name in PHP script. When I run it , I ma getting this message on the web browser 'Table 'db1104107.temp' doesn't exist'
  5. Replies
    29
    Views
    2,109

    OKKKKKKK UHHHH THIS IS WHAT I GOTT Your SQL...

    OKKKKKKK UHHHH THIS IS WHAT I GOTT

    Your SQL query has been executed successfully (Query took 0.0123 sec)
    SQL query:
    CREATE TEMPORARY TABLE IF NOT EXISTS temp(
    temp_id INT UNSIGNED NOT NULL...
  6. Replies
    29
    Views
    2,109

    ok I dont know if this will help but this is what...

    ok I dont know if this will help but this is what I got when i tried to create my temporary table in phpmyadmin

    SQL query:

    CREATE TEMPORARY TABLE IF NOT EXISTS temp(

    'temp_id'
    )
    MySQL...
  7. Replies
    29
    Views
    2,109

    But I tried all that sir. It does not work. How...

    But I tried all that sir. It does not work. How is it working for you and not for me?
  8. Replies
    29
    Views
    2,109

    Ok, I realised that there is something wrong with...

    Ok, I realised that there is something wrong with the Create TEMP table code.I think I might solve it
  9. Replies
    29
    Views
    2,109

    there is no table called temp. and its giving me...

    there is no table called temp. and its giving me error with that command "IF EXISTS"
  10. Replies
    29
    Views
    2,109

    Let me sort this step by step, so first I will...

    Let me sort this step by step, so first I will create a temp table. One minute
  11. Replies
    29
    Views
    2,109

    Ok, I think I should start all over again, cos I...

    Ok, I think I should start all over again, cos I am gettin confused myself. Give me 5 to 10 mins
  12. Replies
    29
    Views
    2,109

    I corrected those mistakes. Thanks.

    I corrected those mistakes. Thanks.
  13. Replies
    29
    Views
    2,109

    Cheers, Thanks for the advice. Well,...

    Cheers, Thanks for the advice. Well, unfortunately I have to use a temp table. Its part of a assignment. I have to make one.
  14. Replies
    29
    Views
    2,109

    I removed the # sign becuase that was not meant...

    I removed the # sign becuase that was not meant to be there. I just thought it would work. Because in some of the tutorials I was going through, the #tbl_name meant temporary tables.
  15. Replies
    29
    Views
    2,109

    However, I read that if the temp table is not...

    However, I read that if the temp table is not dropped automatically after the connection is terminated, then the code is not written correctly. I am not sure if that's true.

    Sorry for annoying you.
  16. Replies
    29
    Views
    2,109

    Let me explain, that code should create a temp...

    Let me explain, that code should create a temp table but when I run the code, its saying the table does not exist and I have to log into phpmyadmin and crreate a table and then the code works. I...
  17. Replies
    29
    Views
    2,109

    Yh, it only gives me the error, but thats to do...

    Yh, it only gives me the error, but thats to do with the primary key. So what do you suggest?
  18. Replies
    29
    Views
    2,109

    umm, no i just added the '#' now. I dont think...

    umm, no i just added the '#' now. I dont think thats causing the problem
  19. Replies
    29
    Views
    2,109

    Not using temporary tables correctly.

    I know this because the temp table is not deleted after closing the connection. I am using PHPMyAdmin. Any help is appreciated


    <?php
    $hostname = "localhost";
    $username = "1104107";
    $password...
  20. Oh, Thanks. It works now and it adds the data to...

    Oh, Thanks. It works now and it adds the data to the table. I am really confused about something. Can you tell me if we can create a temporary table by using PHP. Because, I tried to create a TEMP...
  21. Parse error: syntax error, unexpected T_STRING, expecting ',' or ';'

    <?php
    $hostname = "localhost";
    $username = "1104107";
    $password = "r940c1";
    $database = "db1104107";
    //echo '24';

    //connection to the database
    $dbhandle = mysql_connect($hostname,...
  22. Yh, I realised that. Thanks for the help

    Yh, I realised that. Thanks for the help
  23. Can you tell me if I am on the right lines. I am...

    Can you tell me if I am on the right lines. I am gettin some errors



    these are the errors I am getting.

    Warning: mysqli_query() expects parameter 1 to be mysqli, resource given in...
  24. Create Temp table:Getting Errors HELPP!!!

    <?php
    $hostname = "localhost";
    $username = "1104107";
    $password = "r940c1";
    $database = "db1104107";
    //echo '24';

    //connection to the database
    $dbhandle = mysql_connect($hostname,...
  25. [RESOLVED] Creating Temporary tables for Basket

    Hello Everyone,

    I have to create a temporary table for basket. I have to include certain fields from different table.

    Now I know the code to create a temporary table "CREATE TEMPORARY TABLE...
Results 1 to 25 of 25
HTML5 Development Center



Recent Articles