No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hi, I have the following peice of code which pulls data from a database: [code=php]$rsfeed = mysql_query("select Title from Abstracts where (ID = '12')); $thearray = mysql_fetch_row($rsfeed);[/code] I can print the title using: [icode]print $thearray[0];[/icode] but theactual resultset is more then 1 row, and what i need to do is … |
|
Hi i am trying to output data the way i want but just cant get it to go in the right place. The code i have used is: [code=php]for($i=$n_start;$i<=$n_end;$i++) { echo "<img src='{$products[$i]['phonepic']}' width='100' height='100'>"; echo "<tr>{$products[$i]['modelNum']}</tr>"; echo "<tr>{$products[$i]['price']}</tr>"; echo "<tr><input type='text' name='item{$products[$i]['stockID']}' value='0' size='5'></tr>"; }[/code] As you can see … |
|
hello I've got two tables that I want to be connected(let's call the A and B), so I made a third table. In table A and B i got two primary keys a_id and b_id. Now I create the third table named AB. Inside that I create ab_id as primary … |