Forum: PHP Aug 14th, 2009 |
| Replies: 5 Views: 416 me too had the same problem but I gave full path.
Try giving path from a variable preceded by $_SERVER['SERVER_NAME']; thus by making full path?
Hope this will work for you.
(thought your... |
Forum: PHP May 30th, 2009 |
| Replies: 25 Views: 3,409 :) happy to hear that ur problem is solved now.
did understood what is `` for?
don't know what is the actual definition. But it works like escape character. ie like we use slashes in string.... |
Forum: PHP May 29th, 2009 |
| Replies: 25 Views: 3,409 try this.
$insert="INSERT INTO `table` (name) VALUES ('$value')";
U have given "table" as table name and "name" as field name.
Both have special meaning in sql. So if u are using it u need to... |
Forum: PHP May 27th, 2009 |
| Replies: 25 Views: 3,409 Happy to hear that ur problem was partially solved
Try this
$insertSQL = sprintf("INSERT INTO $table (id,name) VALUES (%d, %s)", $ch[0], $var);
$Result = mysql_query($insertSQL) or... |
Forum: PHP May 26th, 2009 |
| Replies: 25 Views: 3,409 Sorry, this is working perfect here
Check this i just uploaded a sample the file i was using here. http://peipians.com/tempDomains/test.php
try removing isset() and all those,
just echo... |
Forum: PHP May 25th, 2009 |
| Replies: 25 Views: 3,409 while using radio button
u need set values for each radio button to know which one is clicked
dont forget to give same name and id for all radio buttons
<form id="f" name="f" method="post"... |
Forum: PHP May 25th, 2009 |
| Replies: 25 Views: 3,409 Me too a beginer in php,
i checked ur code but cant understand some parts of it comletely.
as i do php in php4 style and u in php5 style
First i dont understand why u are using checkboxes... |
Forum: PHP May 25th, 2009 |
| Replies: 10 Views: 682 Actually i didnt get u completely.
Anyway im just trying to help you
you can get username in many ways like using url (GET method), by creating session, cokkies etc or by getting it from database.... |
Forum: Graphics and Multimedia Nov 21st, 2008 |
| Replies: 8 Views: 1,184 <EMBED SRC="filename" autostart="false"></EMBED> |
Forum: PHP Oct 23rd, 2008 |
| Replies: 6 Views: 678 $host="localhost"; // Host name
$username="root"; // Mysql username
$password="1234"; // Mysql password
$db_name="main_db"; // Database name
$table_name = "my_table"; // name of the table
//... |
Forum: PHP Oct 22nd, 2008 |
| Replies: 6 Views: 678 Assuming that you are not using database
then i think your problem will be solved by giving a sequence as filenames when uploading.
then you can display them in a table ascending or descending... |