Jump to content

phpmady

Members
  • Posts

    205
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

phpmady's Achievements

Regular Member

Regular Member (3/5)

0

Reputation

  1. I need to write a curl functionality, where the datas are stored in the table format. I need to write a function to read all the <tr> and its <td> <td> contains text and link like the below. could anyone help me how to read a text along with the link. for example: <table> <tr> <td> <div> <a href="link.html">td data </a><div></</td> <td> <div> <a href="link.html">td data </a><div></</td> </tr> <tr> <td> <div> <a href="link.html">td data </a><div></</td> <td> <div> <a href="link.html">td data </a><div></</td> </tr> </table>
  2. Hi, I tried to create a array, with the following php code, but am failed whats wrong am doing here? $query = "SELECT user_id,f_name FROM user_profile"; $result = mysql_query($query); echo $result; while ($row = mysql_fetch_array($result)) { $results['f_name'] = $row['user_id'] ; }
  3. Hi, I need to create a array like below, from the table: $items = array( "Great <em>Bittern</em>"=>"1", "Little <em>Grebe</em>"=>"2", "Little <em>Grebe</em>"=>"3", "Little <em>Grebe</em>"=>"4" ); users table has 2 columns: id name Thanks, Mubarak.A
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.