Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14
  1. #11

    Default Re: [help]newbie sa php


    Quote Originally Posted by neigyl_noval View Post
    You mean to/from database? or to/from desktop?

    If you mean database:

    (1) Save -- and u're using mysql to access database thru php, use :
    mysql_query("INSERT INTO user_table (name, age) VALUES ('skeptic_rob', 30)");

    (2) Delete:
    mysql_query("DELETE FROM user_table WHERE name='skeptic_rob'");

    (3) Edit
    mysql_query("UPDATE user_table SET age=31 WHERE name='skeptic_rob'");

    (4) Retrieve & Search
    mysql_query("SELECT * FROM user_table WHERE name='skeptic_rob'");


    If you mean functions in accessing from you desktop:
    I recommend javascript for these (pop-up dialog boxes, etc) and use the above for storing/retrieving/etc
    +1.

    Yep. In-ana ra ka sayon. Ang lisod ani kay if mu-move ka into intermediate stuff like input sanitation, error trapping, etc. Advanced stuff includes code optimization, better algorithms.

  2. #12

    Default Re: [help]newbie sa php

    how about error trapping and putting the output in a table

  3. #13

    Default Re: [help]newbie sa php

    Quote Originally Posted by AxisVirus View Post
    instead of this
    Code:
    <?php  error_reporting(0);  $connect = mysql_connect("localhost","usename","password") or die(mysql_error()); mysql_select_db("databasename") or die (mysql_error);  echo "Connected!"; ?>
    try this

    Code:
    <?php  error_reporting(0);  $connect = mysql_connect("localhost","username","password") or die(mysql_error()); mysql_select_db("databasename") or die (mysql_error);  echo "Connected!"; ?>
    kasagaran man gd rn sa mga hosting site kay i configure jd nimo tagsa2.
    error_reporting(0);unsa gamit ani?

  4. #14

    Default Re: [help]newbie sa php

    error_reporting(0) avoids reporting of errors on the page.

  5.    Advertisement

Page 2 of 2 FirstFirst 12

Similar Threads

 
  1. Replies: 0
    Last Post: 03-13-2013, 01:20 AM
  2. help..newbie sa photography
    By j.u.n.a.x in forum Photography
    Replies: 1
    Last Post: 08-19-2012, 10:09 PM
  3. help me in php, am a newbie
    By maue in forum Programming
    Replies: 21
    Last Post: 06-15-2009, 10:37 AM
  4. help! Password sa Bios wala ko Kbaw!
    By kerlwinph in forum Computer Hardware
    Replies: 18
    Last Post: 08-13-2006, 06:21 PM
  5. help po sa on pag attach og picture
    By pinkit in forum Computer Hardware
    Replies: 2
    Last Post: 07-16-2006, 09:59 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top