Search:

Type: Posts; User: devil_vin; Keyword(s):

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    2,641

    Hi...anybody can help me?I feel lost about it...

    Hi...anybody can help me?I feel lost about it...
  2. Replies
    1
    Views
    2,641

    Multiple Row Auto Calculation and CheckBox

    Hi...guys!I have a multiple row table,the structure as declared below.



    <table id ="claim_dtl">
    <form name="claim_dtl">
    <tr>
    <td><input name="trainingCost" rel="calculate_input" type="text"...
  3. Replies
    4
    Views
    5,544

    mail and alert in PHP

    Hi,guys! I have a PHP script to send mail and prompt out alert if successfully sent.However,the alert is not displayed and all the form value become blank.How can I display alert without having a...
  4. Replies
    5
    Views
    1,886

    Problem resolved.It is about field length of...

    Problem resolved.It is about field length of password.I set it only for varchar(15),not really enough for hashed value
  5. Replies
    5
    Views
    1,886

    Not really. I have tried that before.

    Not really. I have tried that before.
  6. Replies
    5
    Views
    1,886

    md5() problem

    Hi,guys! I have some user records in database which need to encrpyt their password by using md5().So, i write a piece of code to set passwords to encrypted value.



    <?php ...
  7. Thank for replying, is it neccessary for drop...

    Thank for replying, is it neccessary for drop down menu to have selected="selected" ?

    How about if INSERT statement mix with $_POST and $variable?
    I having error on my INSERT statement.



    ...
  8. Replies
    1
    Views
    1,718

    Upload Image into database

    Hey,guys! I have a form to upload image into database,which had a BLOB type column called banner to store the image.How can I specific it in INSERT statement?Thanks...



    <form name="addMovie"...
  9. Passing values from drop down menu and checkbox

    Hey,guys! I have a drop down menu and checkbox,how could I passed the selected value to database by POST in INSERT statement?Thanks...



    <select name="category" title="category">
    <option...
  10. Automatic Logout after 15 minutes of inactive

    Hey,guys!May I know how to have function of automatic logout if users have inactive more than 15 minutes ?Thanks....
  11. if refer member_id like below,my insert statement...

    if refer member_id like below,my insert statement can't work



    $foreign1 = "SELECT member_id FROM member WHERE
    email = \"" . $_SESSION['gmemberid'] . "\" ";

    $sql =...
  12. How to make foreign key linking in PHP/MYSQL?

    Hey..guys! I have INSERTstatement here which have two foreign keys that need to refer to other tables.How can I achieve it?



    $sql = sprintf("INSERT INTO `reserve` (`reserve_datetime`,...
  13. Replies
    4
    Views
    1,453

    I am trying to use parse() to parse $input_date...

    I am trying to use parse() to parse $input_date which is string to format of date,$date, according to $input_format that I defined
  14. Replies
    4
    Views
    1,453

    Date Conversion Problem

    Hey..guys!I need to transfer a string to date format.The script having error said that call to a member function parse() on a non-object.Thanks for your help...



    $reserve_date =...
  15. Replies
    1
    Views
    2,542

    How to display blob data type?

    Hey,guys!I have some images stored in blob data type,how can display it as actual image?Thanks..
  16. Replies
    4
    Views
    1,303

    Problem resolved.thanks

    Problem resolved.thanks
  17. Replies
    4
    Views
    1,303

    Well,what wrong again?The second line having...

    Well,what wrong again?The second line having T_CONSTANT_ENSCAPED_STRING expecting ' ' or ';'



    echo $rows['banner'] .'<strong>Title:' . $rows['name'] .'<br>'
    'Classification:' ....
  18. Replies
    4
    Views
    1,303

    Unexpected "."

    Hey,guys!What went wrong with the script?I having syntax error of unexpected "." in first line of second echo.Thanks...



    <?php
    $tbl_name = "movie";

    $result =...
  19. Replies
    3
    Views
    4,613

    Is it look like that? `reserve_date`...

    Is it look like that?


    `reserve_date` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
    `reserve_time` timestamp NOT NULL default '0000-00-00 00:00:00',


    How can I...
  20. Replies
    3
    Views
    4,613

    Storing format of date and time

    Hey guys! How can I store the following format of date and time in database?
    Date=Mon 01th Oct
    Time=5 :00pm
  21. Well,I changed my query again, if...

    Well,I changed my query again,



    if (isset($_GET['confirm'])){
    $selected_date = mysql_real_escape_string($_GET['selected_date']);
    $reserve_time =...
  22. I have changed my query

    I have changed my query



    <?php
    //$tbl_name = "reserve";
    if (isset($_GET['confirm'])){
    $sql = 'INSERT INTO `reserve` SET';
    $sql .= ' `reserve_date` =...
  23. I reliazed mt_rand() return an integer,so change...

    I reliazed mt_rand() return an integer,so change ref_code to int,however data yet to be stored.What weent wrong actually???Hope someone can help me....



    <?
    //$tbl_name = "reserve";
    if...
  24. $tbl_name = "reserve"; just stated that table...

    $tbl_name = "reserve"; just stated that table name is 'reserve'
    Here is the sql code for reserve table:



    CREATE TABLE `reserve` (
    `reserve_id` int(4) NOT NULL auto_increment,
    ...
  25. How to store hidden field data into database?

    Hey,guys!

    I have a form which have some hidden fields because those fields' value need to be displayed in next page by using $_GET.However,I also need to store them into database while form...
Results 1 to 25 of 117
Page 1 of 5 1 2 3 4