• Member Avatar for urtrivedi
    urtrivedi

    Began Watching how to check and indicate the availability

    hi im doing a project on online table reseration. im using a table "reservation" to store the table details of reserved table +--------------+-------------+------+-----+---------+----------------+ | Field | Type | Null | …
  • Member Avatar for urtrivedi
    urtrivedi

    Replied To a Post in Refresh only Div

    refresh will only work with timer. If you dont use timer. page will be updated only once at the time of loading
  • Member Avatar for urtrivedi
    urtrivedi

    Began Watching error

    <?php include 'connect.php';?> <?php include 'functions.php';?> <?php include 'header.php';?> <?php if(isset($_GET['user']) && !empty($_GET['user'])){ $user=$_GET['user']; }else{ $user=$_SESSION['user_id']; } $my_id = $_SESSION['user_id']; $username=getuser($user,'username'); ?> <h3> <?php echo $username; ?> </h3> <?php if($user …
  • Member Avatar for urtrivedi
    urtrivedi

    Replied To a Post in error

    you can not put quotes around column name (I assume from and to are column names) write as where from='4' and to='1'
  • Member Avatar for urtrivedi
    urtrivedi

    Began Watching Refresh only Div

    Hi! Need to refresh only div for cetrain time without loading any external content into that div.. Can you help me please??
  • Member Avatar for urtrivedi
    urtrivedi

    Replied To a Post in Refresh only Div

    http://www.w3schools.com/js/js_timing.asp
  • Member Avatar for urtrivedi
    urtrivedi

    Replied To a Post in Cannot select (load) large data from mysql

    phpmyadmin limits record at a time. most of time 30 records at same time you wil never need to see all togehter, better u filter of ur choice and below …
  • Member Avatar for urtrivedi
    urtrivedi

    Began Watching Cannot select (load) large data from mysql

    Hi all, I have one problem on selecting larga data from mysql. I have inserted large data to mysql, and all data was inserted. I see it from phpmyadmin. but …
  • Member Avatar for urtrivedi
    urtrivedi

    Replied To a Post in Problem with LAMP server

    how somebody can assume what problem u are facing with just reading above 2 lines. post deatils of problem
  • Member Avatar for urtrivedi
    urtrivedi

    Began Watching Problem with LAMP server

    Hi guys I have to create a website for my class which I am almost done with but I have a problem when trying to view my website with a …
  • Member Avatar for urtrivedi
    urtrivedi

    Began Watching how to store value from dropdown list into a table.

    I am new to php. I want to insert the value selected from dropdown list in mysql database. i have two tables named tbl_user and tbl_domain. how may i storea …
  • Member Avatar for urtrivedi
    urtrivedi

    Replied To a Post in how to store value from dropdown list into a table.

    you need to lean html forms and php form handler http://www.w3schools.com/php/php_forms.asp
  • Member Avatar for urtrivedi
    urtrivedi

    Began Watching class inheritance problem

    i have two classes Session and SupplierSession. SupplierSession is supposed to inherit from Session. how do i ensure that the session_start() in the __construct() method of Session does not get …
  • Member Avatar for urtrivedi
    urtrivedi

    Replied To a Post in class inheritance problem

    Session_start function is usually called in begning of page or from any common file which is included in all page in begning. Take out it from classes
  • Member Avatar for urtrivedi
    urtrivedi

    Replied To a Post in Need advice

    You can add custome page on wordpress and you can match your page theme with the wordpress theme.
  • Member Avatar for urtrivedi
    urtrivedi

    Began Watching Need advice

    I've been happily writing code for a bit of software that loosely is to do with project management. For that reason it has a dashboard-esque look and feel. It is …
  • Member Avatar for urtrivedi
    urtrivedi

    Replied To a Post in Need help with HTML code

    learn basics first. try w3schools.com
  • Member Avatar for urtrivedi
    urtrivedi

    Began Watching Need help with HTML code

    Hey everyone Please i would like to create a kind of quotation form with 2 ends (front and back). The front end would be a text box and a submit …
  • Member Avatar for urtrivedi
    urtrivedi

    Replied To a Post in database connection in PHP

    http://www.w3schools.com/php/php_mysql_connect.asp
  • Member Avatar for urtrivedi
    urtrivedi

    Began Watching database connection in PHP

    how to connect to database in php 5.4 ?
  • Member Avatar for urtrivedi
    urtrivedi

    Began Watching Where statement with null and not null value

    Hi, How to use in select statement with where condition comparing a Null value and with value? I have this Statement `Select Col1, Col2, Col3 From Table where DateDeleted` 'Here …
  • Member Avatar for urtrivedi
    urtrivedi

    Replied To a Post in Where statement with null and not null value

    SELECT * FROM Table WHERE (convert(varchar,DateDeleted,1)< '2014-02-12' OR DateDeleted IS NULL) You should always use proper datatime datatype when value is date, Here you have to always convert varchar to …
  • Member Avatar for urtrivedi
    urtrivedi

    Began Watching kindly help ~php to javascript

    if(document.form1.captcha.value != '$_SESSION["code"]'){ alert("Wrongwrong captcha \n"); return false; } hello ,i just want to ask why is it not running ?i decided to convert my php function to javascript . …
  • Member Avatar for urtrivedi
    urtrivedi

    Replied To a Post in kindly help ~php to javascript

    But i suggest not to use javascript to veriy captcha, always check in handler php code.
  • Member Avatar for urtrivedi
    urtrivedi

    Replied To a Post in how to show data that has been approved

    first you have to create page for senior to approve the record status where they set status to approve or unapprove, all pending records same status can be displayed to …
  • Member Avatar for urtrivedi
    urtrivedi

    Began Watching retrieve display loop and update

    hi im a beginner on php and i just want to know if my codes is correct because when i try to update it it only saves the last value …
  • Member Avatar for urtrivedi
    urtrivedi

    Replied To a Post in retrieve display loop and update

    what is structure of $tblname and what is primary key in that table
  • Member Avatar for urtrivedi
    urtrivedi

    Replied To a Post in how to show data that has been approved

    I guess you must be having status or approved column in your table you can add same column in your query and display it SELECT student.name, student.matric, student.session, data.title, data.day, …
  • Member Avatar for urtrivedi
    urtrivedi

    Began Watching how to show data that has been approved

    Please help me :) how to do this? Student post an assignment to the supervisor. Supervisor will receive that assignment and approve it whether click button YES or NO. The …
  • Member Avatar for urtrivedi
    urtrivedi

    Replied To a Post in Unable to update or delete Mysql table by using servlet code

    before exeuctiong query output the prepared query. copy it and run in database administration tool. check do you find any error there <% string query = "update pharmacy set mname='"+a2+"',desc='"+a3+"',amount='"+a4+"'where …
  • Member Avatar for urtrivedi
    urtrivedi

    Began Watching Unable to update or delete Mysql table by using servlet code

    Hi everone, Currently i am working on an Pharmacy management project in MVC2 model i have written an servlet code to fetch,insert,update,delete MySQL table contents from the JSP page but …
  • Member Avatar for urtrivedi
    urtrivedi

    Replied To a Post in Inserting an array into mysql

    I do not agree with your html layout or I am not able to understand what you trying to achieve. You are using same name coderef[] for different kind of …
  • Member Avatar for urtrivedi
    urtrivedi

    Began Watching Inserting an array into mysql

    For those that have a good understanding of PHP arrays, I have a form that takes in multiple inputs that can be added to the form by js, the data …
  • Member Avatar for urtrivedi
    urtrivedi

    Began Watching Problem with if else statement

    I have problem with my if else statement. I want to show popup box which is a list of late submission. All i going alright, but there are problem when …
  • Member Avatar for urtrivedi
    urtrivedi

    Replied To a Post in Problem with if else statement

    I always compare dates in mysql query insteal of in php. I suggest you to do same. I feel handling dates is little complicated in php specially for comparision. $query …
  • Member Avatar for urtrivedi
    urtrivedi

    Replied To a Post in Registration Page on PHP and SQL

    Oh I overlooked and misunderstood. But we can help more precisely if you can share your efforts here.
  • Member Avatar for urtrivedi
    urtrivedi

    Began Watching Populating a Form from a mysql database

    Me again, I have the following which should generate a form and populate that form. <?php session_start(); include("db_connect.php"); if(($_SESSION['user_id']) && ($_SESSION['access_level'] == 1 )) { ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD …
  • Member Avatar for urtrivedi
    urtrivedi

    Replied To a Post in Populating a Form from a mysql database

    add underscore after dollor sign on light 88 wrong $POST['person_id']; right $_POST['person_id'];
  • Member Avatar for urtrivedi
    urtrivedi

    Replied To a Post in Registration Page on PHP and SQL

    http://php.about.com/od/finishedphp1/ss/php_login_code.htm
  • Member Avatar for urtrivedi
    urtrivedi

    Began Watching Registration Page on PHP and SQL

    Hi, I need to make a registration page to my Private Silkroad server on my website, and it works with SQL Server 2012. I'm not really into PHP neither SQL, …
  • Member Avatar for urtrivedi
    urtrivedi

    Replied To a Post in Registration Page on PHP and SQL

    http://www.wikihow.com/Create-a-Secure-Login-Script-in-PHP-and-MySQL
  • Member Avatar for urtrivedi
    urtrivedi

    Began Watching Go to next page after Validation

    Good Day, guys, please help me, after validation in javascript,I want the user to go to the next page. I tried window.open ("sinfo.php"); The problem was it opens in another …
  • Member Avatar for urtrivedi
    urtrivedi

    Replied To a Post in Go to next page after Validation

    window.location='sinfo.php';
  • Member Avatar for urtrivedi
    urtrivedi

    Began Watching SESSIONS variable not working on ipage

    Sessions wont work on ipage, I know there are post like this all over internet but i did try all the answers and nothing seems to work i tried this.. …
  • Member Avatar for urtrivedi
    urtrivedi

    Replied To a Post in SESSIONS variable not working on ipage

    try to keep h:/path not semicolon put it as colon and restart apache service Though I am not sure
  • Member Avatar for urtrivedi
    urtrivedi

    Replied To a Post in Simple SQL Error (Beginner) Please help!!!

    The problem is supervisor id 454-56-768 YOu must insert that first I have changed sequence of insert INSERT INTO Employee_T (EmployeeID, EmployeeFirstName,EmployeeLastName, EmployeeAddress, EmployeeCity, EmployeeState, EmployeeZip, EmployeeDateHired, EmployeeBirthDate, EmployeeSupervisorID) VALUES('454-56-768','Robert','Lewis','17834 …
  • Member Avatar for urtrivedi
    urtrivedi

    Began Watching Simple SQL Error (Beginner) Please help!!!

    This is what I have: create table Employee_T (EmployeeID varchar2(10) NOT NULL, EmployeeFirstName varchar2(10) NOT NULL, EmployeeLastName varchar2(15) NOT NULL, EmployeeAddress varchar2(20), EmployeeCity varchar2(10), EmployeeState char(2), EmployeeZip number(5), EmployeeDateHired date …
  • Member Avatar for urtrivedi
    urtrivedi

    Replied To a Post in SQL Error: ORA-00907: missing right parenthesis 00907. 00000 - "missing ri

    remove , before ); CREATE TABLE Film ( film_code number(5)PRIMARY KEY, title varchar2 (200)FOREIGN KEY, running_time number(3,2) NOT NULL, classification varchar2(200) );
  • Member Avatar for urtrivedi
    urtrivedi

    Began Watching SQL Error: ORA-00907: missing right parenthesis 00907. 00000 - "missing ri

    Hi, If I could please get some help? I have missed the lectures on creating tables due to my daughter being sick. I am trying to follow the lecture notes …
  • Member Avatar for urtrivedi
    urtrivedi

    Replied To a Post in Link a variable to a buy button

    In your file you can read passed get or post variables using php arrays $_GET AND $_POST in your case, its get variable id Now we set new link in …

The End.