Hello all, I am new to HTML/PHP so any help would be great.
I have a multidimensional array filled with values that I am trying to output into an html table.
This works (outputs value of array):
Code: echo $table[0][0];
This does not work (outputs "Array[0]" instead of the actual value within the table):
Code: echo "<table border = 1>n";
echo "<td>Col 1</td><td>Col 2</td><td>Col 3</td>";
echo "</tr>n";
echo "<td>$table[0][0]</td><td>$table[0][0]</td><td>$table[0][0]</td>";
echo "</table>n";
I was going to use a couple of loops to output the array into the table however the way I have above is not working and really screwing me up. Does anyone have a solution? Thanks
Switch letters in message (basic cryptology)...
I am trying to switch letters around in a message for an application on my site (see here). The problem is that I can't figure out a way to get it to work.What I am trying to do is for example switch
Error in SQL Syntax HELP!!!
I have this page:Code: <?phpsession_start();//connect to server and select database$conn = mysql_connect("localhost", "root", "") or die(mysql_error());$db =
How to write on database when a link is clicked?
Hi,
SAP Logon Failed
I tried to login to SAP through MMC.
Pro-rata Billing in Periodic Billing for Rental
Hi guys,
serializing objects - loses methods - the point being?
HiI know that serializing an object will lose the methods. But whats the point in that? What if we need the methods . Lets say the serialized string is sent from an external server where the calling
Inserting a variable in a link
I have this code that I want to insert for my own variable but I have no idea how. This is what I want to insert:Code: <?php echo $my_twitter_username; ?>Into this code:Code:
Using cURL to PUT
Can somebody help with the correct php code to make a cURL PUT request. Here is a sample of code below that uses POST, but I need to modify this one so that it uses PUT instead.Code: <?php
rename the file
File.txtCode: ***DOCUMENT***..DN:000044255..CB:..SN:..PY:2009..ED:LA..ED:Home..ID:***DOCUMENT***..DN:000044254..CB:..SN:..PY:2009..ED:LA..ED:Edition..PT:ID:Code: <?php$file = fopen($argv[1],
Storing Values taken from a DB...
Using this code it will generate a short list from my database <?phpmysql_connect('localhost','root','');mysql_select_db("clients");$fname = $_POST['firstname'];$SQL = "SELECT *