Sign up to connect with ko ko and gain access to their complete profile
  • Member Avatar
    ko ko

    Replied To a Post in Update data

    You're overriding everything if post_id exists in URL. Check link **8-10** and **17-20**. You're putting old data every time unless your post_id is not include in URL. If 'judul' and …
  • Member Avatar
    ko ko

    Replied To a Post in Update data

    As cereal pointed out, post_id is missing in form action URL. Append it to your form action as cereal shown above. However, you should better split different page for create …
  • Member Avatar
    ko ko

    Began Watching Wordpress Breadcrumbs

    Hi, Having a bit of trouble with breadcrumbs in Wordpress, the theme has the breadcrumbs feature enabled but only includes the object page and the homepage, I want to add …
  • Member Avatar
    ko ko

    Replied To a Post in Wordpress Breadcrumbs

    seotheo: Here is [reference](http://codex.wordpress.org/Function_Reference/get_post_ancestors) from WP Codex for you. Check it out and try this inside `is_paged()` conditional block properly as you need. Always check [WP Codex](http://codex.wordpress.org) while working with …
  • Member Avatar
    ko ko

    Began Watching Update data

    Hello, Can anyone help me find the logic behind this program? input_berita_static.php <?php include('../includes/koneksi.php'); $post_id = isset($_POST['post_id']) ? $_POST['post_id'] : ''; $confirmation = isset($_POST['confirmation']) ? $_POST['confirmation'] : ''; $kategori = …
  • Member Avatar
    ko ko

    Replied To a Post in Update data

    The form is using **POST** method. Every `$_GET` should change into `$_POST`
  • Member Avatar
    ko ko

    Began Watching php not displaying echo command

    Ok, so here is the problem. Below is a fairly simple code that will count the number of members registered to a site. The html works just fine but the …
  • Member Avatar
    ko ko

    Replied To a Post in php not displaying echo command

    String concatenation error on line 15 inside while loop. `echo 'There are . $result . 'members';}` Try this: $result=mysql_query("SELECT COUNT(*) AS total FROM registration") or DIE(mysql_error()); $row = mysql_fetch_row($result); if($row[0]['total'] …
  • Member Avatar
    ko ko

    Began Watching Online ordering

    hi i am working in a project it is about online ordering of food .. I have problem in createing the cart. I have these tables Member-will have the username …
  • Member Avatar
    ko ko

    Replied To a Post in Online ordering

    Cart table should has food's ID in case the user order the food and delete from cart table where food's ID and user's ID found.
  • Member Avatar
    ko ko

    Replied To a Post in javascript editing functionality

    Some mistakes: $eduser=$_POST['user']; $edpassword=$_POST['password']; There is no 'user' and 'password' fields in your form or perhaps, it came from other page ? $first=isset($_POST['first']); $last=isset($_POST['last']); $emai=isset($_POST['ema']); `isset()` returns boolean (true / …
  • Member Avatar
    ko ko

    Replied To a Post in javascript editing functionality

    But, your question doesn't state any PHP process. You just asked to display / hide 'Save/Cancel' button upon 'Edit' button clicked.
  • Member Avatar
    ko ko

    Began Watching how to store multiple values from dropdown list into a in a database using

    My code is like this below HTML Code : <select multiple="multiple" size="5" name="religion[]" id="religion" class="txtareamultifield" ondblclick="moveOptions(document.MatriForm.religion,document.MatriForm.RIGHTRELIGION,1);fnAnyChk(document.MatriForm.religion,document.MatriForm.RIGHTRELIGION);fnGothraChk();fnModifySubCasteChk(this.value);otherreligion();" style="width:355px; height:90px; font-size:13px;"> <option value="" selected>Any</option> <option value="Hindu">Hindu</option> <option value="Muslim-Shia">Muslim - Shia</option> <option value="Muslim-Sunni">Muslim …
  • Member Avatar
    ko ko

    Replied To a Post in how to store multiple values from dropdown list into a in a database using

    It can't be stored or what's the problem ? Echo your `$qry1` and copy / paste into your MySQL via CLI or PhpMyAdmin and see what happen.
  • Member Avatar
    ko ko

    Began Watching javascript editing functionality

    hello world, myself kishan kumar, iam new to web developing...my task is interrelated to edit,save & cancel....which is similar to edit button in shine.com...Iam doing in php language.the work is …
  • Member Avatar
    ko ko

    Replied To a Post in javascript editing functionality

    This is PHP forum, not Javascript. You can post your problem in [Javascript / DHTML](http://www.daniweb.com/web-development/javascript-dhtml-ajax/117) forum.
  • Member Avatar
    ko ko

    Gave Reputation to vish akha in How to display the multiple selected value of list box to other page.

    Hii, i am new here. I have an assignment and now i am confused so is here anyone who can helpp me. I have created the code lyk- {<?php include …
  • Member Avatar
    ko ko

    Gave Reputation to malatamil in login management for 2 or 3 username and password

    register.php register form <div class="regform"> <table border='0'> <tr> <td align="right"><label>Are you an :</label></td> <td class="register"> <input type="radio" value="Individual" name="are_you">Individual Or <input type="radio" value="Business" name="are_you">Business ?</td> </tr> <tr> <td align="right"><label for="login_username">Username …
  • Member Avatar
    ko ko

    Began Watching WAMP vhosts problem

    I am trying to setup virtual wamp localhost. Localhost root folder: c:\wamp\www mysite.local root folder: c:\wamp\site2 Steps of every kind is already taken: removing # from file "httpd.conf" #Include conf/extra/httpd-vhosts.conf …
  • Member Avatar
    ko ko

    Replied To a Post in WAMP vhosts problem

    Wamp provides to add your own vhosts in seperate folders '**vhosts**' under **wamp** folders, and it'll load all vhosts file you added there when startup wamp server. You don't have …
  • Member Avatar
    ko ko

    Began Watching Guide as the filters Ajax PHP và MySQL

    I'm trying to make a quick filter like this site with PHP and MySQL, but do not know how start? http://www.mysmartprice.com/mobile/pricelist/mobile-price-list-in-india.html#subcategory=mobile&property=|200088-200485&startinr=799&endinr=1999 Who can teach me how to do this are …
  • Member Avatar
    ko ko

    Replied To a Post in Guide as the filters Ajax PHP và MySQL

    If you know how to work with PHP, MySQL and jQuery or Javascript, that's simple work. The only difficulties would be building pretty UI and the interactive functions on the …
  • Member Avatar
    ko ko

    Began Watching Warning: mysql_numrows() expects parameter 1

    Hello PHP fanatics, The browser shows Warning: mysql_numrows() expects parameter 1 to be resource, array given in C:\xampp\htdocs\a\Student_Home.php on line 13 here is the line 13... the LINE 5 is …
  • Member Avatar
    ko ko

    Replied To a Post in Warning: mysql_numrows() expects parameter 1

    It should be `$result`, not `$data`, the correct one is `$numRows = mysql_numrows($result)` Also, you've already assigned student's ID to `$student_id` variable, why `$_GET['id']` in your sql and it was …
  • Member Avatar
    ko ko

    Began Watching Redirect to different pages depending on user account?

    I'm really hoping someone can help and I should warn you I am javascript novice. I have a login script for my members website that uses Ajax. It works just …
  • Member Avatar
    ko ko

    Replied To a Post in Redirect to different pages depending on user account?

    What's `ajaxObj("POST", "login.php")` ? Does your ajax actually working ? You can track Ajax connection on your browser add-on like Firebug. Are you sure your form data is passed to …
  • Member Avatar
    ko ko

    Began Watching Convert Fahrenheit to Celsius

    Hello, I am definitely a beginner. I need some help with this application. I need to be able to have an alert box pop up and as the user 'Enter …
  • Member Avatar
    ko ko

    Replied To a Post in Convert Fahrenheit to Celsius

    I'm not sure what's the problem ? I don't get any problem. Is it not working ?
  • Member Avatar
    ko ko

    Replied To a Post in more pagination for single page without url change

    Sounds that you need Ajax. Attach a Javascript event to the links you need to get pagination. Pass some vars to server via Aja which determines to get which data …
  • Member Avatar
    ko ko

    Began Watching PHP session error

    i have a simple php login script with session but all i get is just a white blank page after running my login,php script. Here is the login,php page <?php …

The End.