User Profile

Collapse

Profile Sidebar

Collapse
spky
spky
Last Activity: Mar 5 '13, 04:12 AM
Joined: Feb 27 '13
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • spky
    started a topic echo mysql table inside a new html or php page in php.
    in PHP

    echo mysql table inside a new html or php page in php.

    I need to echo this table inside a web page and need to take a print-out.Records must select according to req_num which will be entered by user.(I defined it as $req) this code gave me this error
    "Warning: mysql_fetch_arr ay() expects parameter 1 to be resource, boolean given in E:\wamp\www\STM S_2.4\printprew .php on line 23"
    plz help
    Code:
    <?php
      
      require 'connection.php';
    ...
    See more | Go to post

  • spky
    started a topic why isn't table border displaying with this code ?
    in PHP

    why isn't table border displaying with this code ?

    I used this code to echo a table.It works all right but table border is not displaing. plz tell me what I have done wrong.

    Code:
    $result = ("SELECT  $tbltempisit.item_name,  $tbltempds.emp_name FROM $tbltempisit INNER JOIN $tbltempds ON $tbltempisit.req_num = $tbltempds.req_num");
     
     	$query_r=mysql_query($result);
     
      echo "<table  border='1'>
      <tr>
      <th>Item</th>
    ...
    See more | Go to post

  • spky
    replied to Insert array values into MySQL
    in PHP
    Thanx a lot Atli & Sanjeevcis your codes were very helpful.
    thanks again.
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...