User Profile

Collapse

Profile Sidebar

Collapse
yuukiizawa
yuukiizawa
Last Activity: Oct 28 '12, 02:27 AM
Joined: Sep 25 '12
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • yuukiizawa
    replied to Validation for the SAME VALUE?
    I'm so sorry for the mistake :)
    Here they are...

    Code:
    <?php
    session_start();
    if (empty($_SESSION[username]) AND empty($_SESSION[password])){
      echo "<center>Use your account to use our program<br>";
      echo "<a href=../index.php><b>LOGIN</b></a></center>";
    }
    else{
    	?>
    
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML
    ...
    See more | Go to post

    Leave a comment:


  • yuukiizawa
    started a topic Validation for the SAME VALUE?

    Validation for the SAME VALUE?

    How can I make a validation when user is doing input, and get the value of name is already in database?

    example of the form:
    ID=
    Name=
    @mail=

    I did using PHP Script but it didn't work.. so I think JQUERY is the answer, but I don't know how to make it, becoz I don't understand about Jquery.
    Please help me. Thankyou
    See more | Go to post

  • yuukiizawa
    replied to The Relation of TABLES ?
    in PHP
    in my case I don't need to relate it, but I doubt how to make the ERD of the unrelated tables... I'm afraid that I'm wrong.

    Well you're mean it's fine, right?
    See more | Go to post

    Leave a comment:


  • yuukiizawa
    started a topic The Relation of TABLES ?
    in PHP

    The Relation of TABLES ?

    I have 5 tables in my database
    example: table A, B, C, D and E..

    But there's not any relation between the tables, except table D and E..

    Is that allowed?
    I mean, is there any rules said that each table must relate one to another??

    Also please tell me your book source (references your answer), thankyou so much :)
    See more | Go to post

  • about the picture, you can click to make it zoomed

    Yes, I want to map the 5 checkboxes to 3 fields...
    Well, then you were so helpful. Thankyou so much for the solution :)
    See more | Go to post

    Leave a comment:


  • About checkbox:

    In Disease FORM, I have 5 values which I saved it in disease table named to1, to2, to3, to4 and to5. example: Apples -->to1, Carrot -->to2, until to5...

    And then,
    I call them (apple&friends) in Alternatif FORM using checkbox like in the image.
    I made 3 fields in alternatif table named cbo1, cbo2 and cbo3 for saving the chosen one (I limited it just for 3 plants).

    How can...
    See more | Go to post

    Leave a comment:


  • https://plus.google.com/u/0/11563884...ts/JoasPzRkpez

    That's link to the problems
    The image named GNASHING of TEETH... would you mind to see it?...
    See more | Go to post

    Leave a comment:


  • which one do you mean with "doesn't have nm_penyakit or kodealter in its post data." ?
    Code:
     // Input Alternatif
    if ($menu=='alternatif' AND $act=='input')
    {
    if (isset($_POST['cebo1']))
    {
    $kd_altrntf = $_POST['kodealter'];
    $nm_penyakit = $_POST['nm_penyakit'];
    $cbo1 = $_POST['cebo1'];
    $cbo2 = $_POST['cebo2'];
    $cbo3 = $_POST['cebo3'];
    That ones?

    but the...
    See more | Go to post

    Leave a comment:


  • yuukiizawa
    started a topic Why can't I save the data from the LIST/MENU ???
    in PHP

    Why can't I save the data from the LIST/MENU ???

    Here's the code::

    [alternatif.php]
    Code:
    <?php
    $namakoneksi = mysql_connect("localhost","root","") or die ("Failed Connect");
    mysql_select_db("tanamanobat",$namakoneksi);
    
    if (isset($_GET['pesan']))
    {
    echo $_GET['pesan'];
    }
    ?> <center> <?php
    $sqlTampil ="SELECT * FROM penyakit ORDER BY kd_penyakit";
    ...
    See more | Go to post

  • I've a problem with showing data from 2 database's table in 1 table

    I want to make table in 4rows and 4columns
    1th row 1th column is empty.

    1th column to the 4th column (just the 1st row) are showing data from Table KRITERIA.
    2nd row to the 4th row (just the 1th column) are showing data from table ALTERNATIF.

    The data from KRITERIA which I want to show is nm_kriteria.
    The data from ALTERNATIF which I want to show is cbo1, cbo2, cbo3.

    the structure...
    See more | Go to post
No activity results to display
Show More
Working...