User Profile

Collapse

Profile Sidebar

Collapse
niths
niths
Last Activity: Dec 3 '10, 08:53 AM
Joined: Mar 31 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • niths
    started a topic html table in php code
    in PHP

    html table in php code

    hello,
    i need html table to be inserted in php code..i tried this but i am getting some problem with it so can anyone help me..
    Thank u..

    My actual code is this
    Code:
    $messageproper ="\n\n" .
    		"Name: " .
    		ucwords($_POST['name']) .
    		"\n" .
    		"Email: " .
    		ucwords($email) .
    		"\n" .
    		"Message: " .
    		$_POST['message']
    ...
    See more | Go to post

  • niths
    replied to ajax in php Problem
    in PHP
    i verified this, my html is running twice..
    In insert query i am not getting the values to insert but it is incrementing the id with no values in it. i replaced $_POST with $_GET even then i am not getting the table values..
    See more | Go to post

    Leave a comment:


  • niths
    replied to ajax in php Problem
    in PHP
    to run the insert query which is in line 84
    See more | Go to post

    Leave a comment:


  • niths
    started a topic ajax in php Problem
    in PHP

    ajax in php Problem

    hi all,
    i am having a page(test.php). so in that i am having a table and submit button. so when i click on submit button all the rows in the table should be inserted into the database(by using ajax). I had tried this but table row values are not coming. so can any one help me please...
    Code:
    <html>
    <head>
    <script type="text/javascript">
    function loadXMLDoc(str)
    {
        if (str=="")
    ...
    See more | Go to post

  • niths
    started a topic Database and Check box
    in PHP

    Database and Check box

    Hi all,
    i had written a query.
    Code:
    $sql3="select userid from projectassign where projectassign='$projectassign'";
         mysql_error();
        $result3=mysql_query($sql3);
        $num1=mysql_num_rows($result3);
        $i=0;
        while ($i < $num1)
        {
            $userid=mysql_result($result3,$i,"userid");
            echo $userid;
            $i++; 
        }
    so...
    See more | Go to post

  • niths
    started a topic Ajax in PHP
    in PHP

    Ajax in PHP

    Hi all,
    I am having a page where there is a drop down box for projects.Below that i had a list of users with check boxes. so wen i select a project in the drop down and assign some users to that project by checking on checkbox.
    so here is my problem. wen i select the same project from drop down i should see the users who are assigned to that project as checked. so wen i select another project then users assigned to that project should...
    See more | Go to post
    Last edited by Niheel; Jun 8 '10, 07:57 AM. Reason: it is better to show your code in the question, so experts can see it in one place

  • niths
    started a topic Onchange of dropdown Value
    in PHP

    Onchange of dropdown Value

    Hi all,
    I am having a projectassign page,in that page i am having a dropdown box in which names of the projects are present.I am getting that project names from database. Below that list of users with checkbox are present.
    So i can select a project from dropdown and check two users and click submit button,those two users will be assigned to that project.
    Every this till this is fine.
    Here is my question.Now when i select...
    See more | Go to post

  • niths
    started a topic Upload pdf,wmv,win
    in PHP

    Upload pdf,wmv,win

    hi all,
    i had a page where we can upload files.so when i upload pdf,wmv,win files, they are not uploading. but the rest like txt,doc,jpeg are uploading fine.
    so i need pdf,wmv,win files also upload. so can any one please...
    here is my upload code.

    Code:
    <?php  
    ob_start();
    @session_start();
    require_once ("check.php");
    createsessions($username,$password,$userid,$projectid,$projectname,$filename,$size,$allocatedmemory,$answer,$usedmemory,$Remainingmemory,$result,$data3);
    ...
    See more | Go to post

  • niths
    started a topic Check box validation

    Check box validation

    hi all,
    i am having a page where there are some checkboxes in it. i cant give exact number because i am getting that from database. so now if the user didnt check atleast one check box i need to get a popup. so can any one help me please..its urgent..
    Thank u..
    Code:
    <table border="1" cellspacing="0" cellpadding="0" align="center" style="width: 500px" bordercolor="red">
    ...
    See more | Go to post

  • niths
    started a topic Restrict Duplicate entries
    in PHP

    Restrict Duplicate entries

    hi all,
    i had a users page in which the Admin can add users.so while adding a user i am able to restrict the duplicate entries(same names).Those users will be displayed in a table, and there is a edit button, so Admin can edit users account(like active,inactive etc). here is my problem when i click on edit button a pop up wil open and i didnt change any thing and click update button, as i didnt change anything it should update but i am getting...
    See more | Go to post

  • niths
    replied to Program Error...?
    in PHP
    sorry i dont understand wat ur saying..
    why do we need that..?
    u r asking wat compiler i am having right. i am using php debugger(Nusphe re)...
    See more | Go to post

    Leave a comment:


  • niths
    replied to Program Error...?
    in PHP
    Windows XP Professional but why...?
    Is the code i had writen is correct...? can we create session like that. can we call the session value like that....?
    i dont know why it is not printing the value....
    See more | Go to post

    Leave a comment:


  • niths
    started a topic Program Error...?
    in PHP

    Program Error...?

    hi all,
    i dont know what the error with this program.I cannot get the value.

    ----sample.php-----

    Code:
    <?php
    ob_start();
    @session_start();
    require_once ("damn.php");
    createsessions(sex);
    ?>
    <html>
    <body>
    <form action="sample2.php" method="post">
    <input type="radio" name="sex" value="male"
    ...
    See more | Go to post

  • niths
    replied to problem in php
    in PHP
    thanks for ur reply.
    here is my code.

    ------User.php------

    Code:
     <?php
    ob_start();
    @session_start();
    require_once ("check.php");
    include 'connection.php';
    $query= mysql_query("SELECT projectassign FROM projectassign where userid=(select userid from users where username='$username' and role='2')");
    mysql_error();
    $num=mysql_num_rows($query);  
     ?>
    ...
    See more | Go to post

    Leave a comment:


  • niths
    started a topic problem in php
    in PHP

    problem in php

    hi all,
    i am having a problem. i had a projects page and list of projects can be seen with radio buttons. so wen we select a project and click submit we go to the upload page and the value of radio button is send to upload page by url. so wen i upload a file it wil be displayed in a table with each having download link so here is my problem wen i click on the download link popup comes and the value which i am getting by 'url' is refreshing.I...
    See more | Go to post

  • niths
    started a topic PHP and JAVASCRIPT
    in PHP

    PHP and JAVASCRIPT

    hi all,
    i want to store a value in session by using javascript in php.Can any one say me about it, i mean how to store and how to get that in the other php page.
    Thanks in advance..
    See more | Go to post

  • i didnt understand wat u said. can u please do that in my code..so that i can come to know. thank u.
    See more | Go to post

    Leave a comment:


  • how to insert value selected in the dropdown to backend?

    hello everybody,
    i had created a dropdown in which project names will be appeared. and i am getting those project name from backend. Below that dropdown i am having a table of users with a check box.so whenever i select a projectname and click on the checkbox of one user, that projectname and username should store in project assign table. The problem is username is storing but the projectname is not storing in the database. it is displaying...
    See more | Go to post
No activity results to display
Show More
Working...