Search:

Type: Posts; User: ravi951

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    1,665

    Re: email and phone no using alert box

    actually i am not getting
  2. Replies
    3
    Views
    1,665

    email and phone no using alert box

    in my below code there is an alert message for only the name i.e..
    customer after shopping he is supposed to enter his details so in my below code only name
    is mandatory but i want both the email...
  3. Replies
    10
    Views
    1,223

    Re: assigning a session to user

    k. for the above code u posted.
    tell me how to do
    1)check session is present or not
    2)until there is a session then it must redirect to page "products.php"
    3)if there is no session also create...
  4. Replies
    10
    Views
    1,223

    Re: assigning a session to user

    k below i sthe way the code has to flow


    <?php
    session_start();
    mysql_connect("localhost","root","") or die("mysql_error()");
    mysql_select_db("shopping") or die("mysql_error()");
    $result =...
  5. Replies
    10
    Views
    1,223

    Re: assigning a session to user

    below is my modified code but it is notb re directing
    to "products.php" page....
    whats the error in my code..........


    <?php
    session_start();
    mysql_connect("localhost","root","") or...
  6. Replies
    10
    Views
    1,223

    Re: assigning a session to user

    i have written the below code to check th esession and then redirect
    to "products.php".
    tell me how to do it.....
    the below code is not executing


    <?php
    session_start();...
  7. Replies
    10
    Views
    1,223

    assigning a session to user

    hi all,
    i have written a code in php that will check whether the session exists
    or not and it will generate the session id.
    below is the code.....


    <?php
    session_start();...
  8. Replies
    2
    Views
    789

    checking for sessions

    hi all,
    i have written a code for checking whether there is a session or not.
    if not it has to be replaced with the time() value.
    but it is displaying the error as Warning: Cannot modify header...
  9. Replies
    7
    Views
    1,273

    login using time

    how to check whether there is session in the code if there is a session
    then using that session (means using time) he has to enter
    or else
    if there is no session then create the new session and...
  10. Replies
    10
    Views
    1,359

    Re: parse error in php

    but it is not getting in a separate line i tried
  11. Replies
    10
    Views
    1,359

    Re: parse error in php

    i have not felt any difference in ur code u posted i want username and password and login button should be in different lines.
    tell me how to make time as a field in my login table so that it...
  12. Replies
    10
    Views
    1,359

    Re: parse error in php

    it is getting but in my code both username and password and login button are in same line i want all of them in a separate line.....
    below is mty modified code.......


    <?php...
  13. Replies
    10
    Views
    1,359

    Re: parse error in php

    i have done like u said.but this time it is displaying the error as
    Parse error: syntax error, unexpected '"', expecting T_STRING or T_VARIABLE or T_NUM_STRING in C:\xampp\htdocs\shopping1\task.php...
  14. Replies
    10
    Views
    1,359

    parse error in php

    hi all,
    i have written a code using php for sessions.it will checks whether the
    user is new or already registered...
    i am getting the error as
    Parse error: syntax error, unexpected...
  15. Replies
    7
    Views
    1,273

    Re: login using time

    what do define("LIMIT", 10); do in php what does 10 represents
  16. Replies
    7
    Views
    1,273

    Re: login using time

    can u explain in brief what is NEW_TIME_HERE and USER_ID_HERE
    means i need to add one more field to my table login as it has already 3
    fields namely id pRIMARY_KEY AUTO INCREMENT,uername...
  17. Replies
    7
    Views
    1,273

    login using time

    hi all,
    i have database namely shopping for login with 3 fields
    namely id,username and password as shown below


    create table login(id auto increment primary key,username...
  18. Replies
    11
    Views
    1,286

    Re: storing unique values using time function

    i need to do using the time function because it will store unique id(no of seconds) that must be stored in the database
    so that when next time he enters there will be no need for asking his details...
  19. Replies
    11
    Views
    1,286

    Re: storing unique values using time function

    k i explain with simple example..
    consider a shopping cart example when user enters to select the items,the time the user enters his name should be stored (by generating the value using time...
  20. Replies
    11
    Views
    1,286

    Re: storing unique values using time function

    i need to store the value of the time generated value using session_register function how to do using session_register ()
  21. Replies
    11
    Views
    1,286

    Re: storing unique values using time function

    then how to modify the below code i have written so that i can store the user details......


    <?php
    mysql_connect("localhost","root","") or die("mysql_error()");
    mysql_select_db("shopping") or...
  22. Replies
    11
    Views
    1,286

    Re: storing unique values using time function

    the system wants to know whether the user is entering for first time or not.
    if he is entering for first time then i must store his login time using time function
    or else if he is a old user then...
  23. Replies
    11
    Views
    1,286

    storing unique values using time function

    hi all,
    i need to store a username in php sessions using time function so that when ever he logged in it must match in the database or else if the user is logged for first time then that...
  24. Replies
    3
    Views
    988

    Re: shopping cart logic

    i want a flow diagram so that i can easily understand and it gives me a graphical idea.can u tell me where can i get ....
  25. Replies
    3
    Views
    988

    shopping cart logic

    hi all,
    i want to work on a simple shopping cart with 3 items with there id,name price and description using pho or jquery.
    tell me what is the logic behind adding to the cart and deleting...
  26. Replies
    0
    Views
    3,078

    problem in taking no of items

    hi all,
    i have written a code for simple shopping cart with 4 items.when i selecting the quantity and clicking the add to cart button it is not taking the values.it is displaying the array...
  27. Replies
    0
    Views
    12,155

    not taking values for shopping cart

    hi all,
    i have written a code for simple shopping cart with 4 items.when i selecting the quantity and clicking the add to cart button it is not taking the values.it is displaying the array...
  28. Replies
    0
    Views
    933

    not displaying items which selected

    hi all,
    i have designed one shoppimg cart with 4 items.but it is unable to take the items i have selected i.e., not displaying the selected items.
    kindly tell me what went wrong......
    below...
  29. Replies
    0
    Views
    2,388

    shopping cart using jquery

    hi all,
    i have written a code for simple shopping cart using javascript.now i want to
    do it using jquery.i have created database with 4 tables as shown below as
    "shopping.sql"


    --...
  30. Replies
    1
    Views
    2,463

    shopping cart problem

    hi all,
    i am working on a simple shopping cart program.I have created one database and stored images too in database.
    i am not getting executed the shopping cart.tell me what went wrong.
    below is...
  31. Replies
    3
    Views
    1,077

    Re: storing image in database

    actually i want to display the image
  32. Replies
    3
    Views
    1,077

    storing image in database

    hi all,
    i want to store an image in database.please tell me whether the below sql syntax i have written is correct or not.


    CREATE TABLE IF NOT EXISTS `products`(
    `serial` int(11) NOT...
  33. Replies
    1
    Views
    755

    deleting records in php

    hi all,
    i have created one form for inserting and deletion.
    my database name is "test" table name is "emp" which contains three fields
    namely empno,empname,desig.
    i have inserted some 4 to 5...
  34. Thread: sql injections

    by ravi951
    Replies
    9
    Views
    1,092

    sql injections

    hi all,
    i have done simple login form with username="admin" and password="admin123".
    i am checking for sql injections.i have given "mysql_real_escape_string"
    for both username and password...
  35. Replies
    7
    Views
    1,415

    javascript delete

    here i have written to delete using javascript......
    it is "del.php"


    <script>
    function fundel(sno)
    {
    rv=confirm("u want to delete");
    if(rv==true)
    {
  36. Replies
    1
    Views
    1,007

    deleting using javascript

    hi all,
    i want javascript function to delete the selected records for the given php program below....
    also i am not getting field values in correct order one field is more than its field......
  37. Replies
    1
    Views
    702

    username and password verification

    hi all,
    my database name is "test".in the "test" database
    i have created a table name called "log" which has two fields
    namely username and password.
    i have given username as "admin" and...
  38. Replies
    2
    Views
    677

    error in inserting record

    actually my database name is "test". my table name is "emp".
    "emp" table contains 3 fields as shown below....

    empno empname desig

    1111 raju pilot
    1112 ram chef
    1113 ...
  39. Replies
    2
    Views
    677

    error in inserting record

    hi all i have been inserting records in to database using php using the below program which is saved as "insert.php".
    but it is displaying the following error
    Parse error: syntax error, unexpected...
  40. Replies
    1
    Views
    850

    inserting and deleting records in php

    hi all,
    i have written a code in php for inserting and deleting multiple records using check boxes."test" is the database name. "emp" is the table name
    which contains the following records in my...
Results 1 to 40 of 55
Page 1 of 2 1 2



Click Here to Expand Forum to Full Width