User Profile

Collapse

Profile Sidebar

Collapse
webtechbharathi
webtechbharathi
Last Activity: Feb 13 '15, 12:47 PM
Joined: May 21 '14
Location: chennai
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Warning my sql fetch array() expets parameter 1 errror.

    Warning: mysql_fetch_arr ay() expects parameter 1 to be resource, boolean given in C:\wamp\www\pro jects\...on line 164.

    Warning: mysql_fetch_arr ay() expects parameter 1 to be resource, boolean given in C:\wamp\www\pro jects\ on line 391


    Code:
      <html> 
    <head> 
    <title>Online examination</title>
    <image src="logo.png" height="15%" width="100%"><br>
    ...
    See more | Go to post

  • dear Claus Mygin,
    i am happy with your solution but i get some trouble to store this "stumark" field to my table here i attach my updated query with "stumark" int this query working 100% correct but my table not get this value of stumark, and i copy and paste the update query to my wampp its updated and stored successfully.bu t i run webpage its not store to db.
    here i attach my updated php file.
    Code:
    <html>
    ...
    See more | Go to post
    Last edited by Rabbit; Feb 6 '15, 05:45 PM. Reason: Please use [code] and [/code] tags when posting code or formatted data.

    Leave a comment:


  • send one table values to another table with new fields how?

    How do I send one table values to another table with new fields?
    Code:
    <?php
    include("menu.php"); 
    include("db.php"); 
     //$id=$_REQUEST['id'];
      $min=$_REQUEST['min'];
     $exam=$_REQUEST['exam'];
     $class=$_REQUEST['class'];    
     ?>
    </head>
    <body> 
    <table>
      <tr>
        <td>
        
     <?php 
    //echo  $id=$_POST['id'];
    ...
    See more | Go to post
    Last edited by Frinavale; Feb 3 '15, 09:29 PM. Reason: Added the question to the body of the thread to give the code context.

  • auto generate id on customer table like cus001.

    I want develop customer table. here i want create customer id like cus01 .i insert into more customer its automatically add id cus02 next automatically increase cus03 etc,in php mysql how to do this help me frnds.
    See more | Go to post

  • how to use radio button in online examination system.

    in my project i have designed a online examination system
    i have using one question and 4 options as a,b,c,d.i fetch the questions from database how to use this radio buttons dynamically to all questioned options(a,b,c,d ).in my code i select one radio button it selected after that i click another one questioned option (radio button)its diabled.how to use radio button commonly for all questions in php. my code is here.

    Code:
    
    
    ...
    See more | Go to post

  • webtechbharathi
    started a topic table name creation with string replace ment
    in PHP

    table name creation with string replace ment

    i want create a table name (E.g general science) but this table name store on my db as (general_scienc e) with under score.
    after that i display this table in my web page its like (general science) with out underscore.how this possible please help me seniors.
    See more | Go to post

  • webtechbharathi
    replied to Error: Incorrect table name Error
    in PHP
    Thak you Dormilich fianly i got solution here is the correct code.
    once again thank u.have a nice day.
    print $sql="INSERT INTO ".$_REQUEST['sub_name']."(id,question, a,b,c,d,answer) values('','$_PO ST[question]','$_POST[a]','$_POST[b]','$_POST[c]','$_POST[d]','$_POST[answer]')";
    See more | Go to post

    Leave a comment:


  • webtechbharathi
    replied to Error: Incorrect table name Error
    in PHP
    Dormilich

    Thank u for your valuable response.i don't know how to insert correctly on corresponding table.
    1.in this blow code is display insert,update,d elete options i click insert button inserting page opened.
    2.i give Q&a for insert form and finaly submit the button the incorrect table name problem occured here i attached my code blow.

    1.qdetails.php
    Code:
    <table align="center" csellpadding="0"
    ...
    See more | Go to post

    Leave a comment:


  • webtechbharathi
    started a topic Error: Incorrect table name Error
    in PHP

    Error: Incorrect table name Error

    THis is i am getting error.here i attached my all codes pls help to avoid this error.

    Notice: Undefined index: sname in C:\xampp\htdocs \projects\prabh a\admin\subject s\question\qins ertcon.php on line 11
    INSERT INTO ``(id,question, a,b,c,d,answer) values('','Whic h Canadian Prime Minister served from 1921 to 1926, 1921 to 1930, and 1935 to 1948?','Pierre Trudeau','Sir Robert Borden','Louis St. Laurent','Willi am Lyon Mackenzie King','d')Error :...
    See more | Go to post
No activity results to display
Show More
Working...