Search Results

Showing results 1 to 11 of 11
Search took 0.01 seconds.
Search: Posts Made By: danishbacker
Forum: PHP Aug 14th, 2009
Replies: 5
Views: 416
Posted By danishbacker
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
Posted By danishbacker
:) 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
Posted By danishbacker
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
Posted By danishbacker
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
Posted By danishbacker
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
Posted By danishbacker
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
Posted By danishbacker
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
Posted By danishbacker
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
Posted By danishbacker
Forum: PHP Oct 23rd, 2008
Replies: 6
Solved: Include problem
Views: 678
Posted By danishbacker
$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
Solved: Include problem
Views: 678
Posted By danishbacker
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...
Showing results 1 to 11 of 11

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC