Search found 13 matches
- Sat May 22, 2004 1:19 pm
- Forum: PHP - Code
- Topic: Where select
- Replies: 4
- Views: 380
- Sat May 22, 2004 1:12 pm
- Forum: PHP - Code
- Topic: Where select
- Replies: 4
- Views: 380
- Sat May 22, 2004 12:49 pm
- Forum: PHP - Code
- Topic: Where select
- Replies: 4
- Views: 380
Where select
Having a bit of a headache with this :roll: <?php mysql_pconnect("localhost","**********","******"); mysql_select_db("douple_Newdata"); $result = mysql_query("select * from counter where id='3'"); mysql_fetch_array($result); $row = mysql_fetch_array(...
- Mon May 17, 2004 3:17 pm
- Forum: PHP - Code
- Topic: php Frommail
- Replies: 3
- Views: 301
i get
Code: Select all
`T_VARIABLE' or `'$'' in /home/douple/public_html/link/send2.php on line 5- Mon May 17, 2004 1:52 pm
- Forum: PHP - Code
- Topic: php Frommail
- Replies: 3
- Views: 301
php Frommail
Is there a formmail for php that will just send me whatever text boxes are in the form by email so i dont have to specify them?
- Fri Mar 26, 2004 4:30 am
- Forum: Databases
- Topic: Mysql connect
- Replies: 1
- Views: 330
Mysql connect
Can you use the Mysql control centre to connect to your web host and admin it that way instead of using phpmyadmin ? I wanted to use the control centre as it seems alot easyier/quicker than phpmyadmin which is all my host seems to give me.
- Wed Mar 24, 2004 12:33 pm
- Forum: PHP - Code
- Topic: Formatting Data
- Replies: 6
- Views: 765
- Tue Mar 23, 2004 4:17 pm
- Forum: PHP - Code
- Topic: Formatting Data
- Replies: 6
- Views: 765
- Tue Mar 23, 2004 2:59 pm
- Forum: PHP - Code
- Topic: Formatting Data
- Replies: 6
- Views: 765
Formatting Data
I am building up a query with php that gets data from mysql and displays it in some nice preformated html tables i have made. It works good but i want to be able to position the boxes ( tables ) exactly where i want them. Im currently using a while loop and an echo statement to print out all of the ...
- Sat Mar 20, 2004 8:46 am
- Forum: PHP - Code
- Topic: Parse line No
- Replies: 1
- Views: 367
Parse line No
Im getting a parse error on a line that has nothing on it ? I didnt think this was possible. But if theres nothing on the line how can i fix it ?
- Wed Mar 10, 2004 2:36 pm
- Forum: PHP - Code
- Topic: php function
- Replies: 4
- Views: 625
- Wed Mar 10, 2004 1:39 pm
- Forum: PHP - Code
- Topic: php function
- Replies: 4
- Views: 625
- Wed Mar 10, 2004 11:53 am
- Forum: PHP - Code
- Topic: php function
- Replies: 4
- Views: 625
php function
ok this may seem stupid but i just spent about an hour trying to get php to pass a variable to a function. Can someone tell me why this doesnt work ?
<?php
$num ="10";
function square ($num)
{
return $num * $num;
}
echo "$num";
?>
<?php
$num ="10";
function square ($num)
{
return $num * $num;
}
echo "$num";
?>