Forum: PHP Jul 14th, 2009 |
| Replies: 9 Views: 529 Thats good you solved it. But this $row is an array. So making it 0 is a bit strange. What other thing you can do is, you can declare it as an empty array:
$row = array();
$row =... |
Forum: PHP Jul 14th, 2009 |
| Replies: 8 Views: 676 Hi,
You can use XAMPP.. No issues..
But yes you need to setup and install MSSQL Server separately.
Make sure yyou create a tble in MS SQL and then run queries in MS SQL.
XAMPP contains an... |
Forum: PHP Dec 18th, 2008 |
| Replies: 5 Views: 2,340 Use escape character which is a backslash (\)
<HTML>
<BODY>
<a href="delete.php" OnClick="return confirm('blah blah');"> Click here </a>
<?PHP |
Forum: PHP Dec 18th, 2008 |
| Replies: 4 Views: 1,542 Hi...
I read your post... This thing will be a problem to do because, you do not have anythng common in the Table1 and Table2. Im not sure how much you have idea about the Database Normalization... |
Forum: PHP Dec 18th, 2008 |
| Replies: 4 Views: 1,542 Assuming that the two tables that you have are exactly the same in their structure.. i mean, both have same fields and same order of fields..
Then you can execute first query, then second query, and... |
Forum: PHP Dec 16th, 2008 |
| Replies: 3 Views: 1,561 Hi....
There are two problems mainly...
Firstly..
When you use a textarea for text purpose, it does not take the enter (line break) automatically...
For this purpose, when you post the... |
Forum: PHP Dec 14th, 2008 |
| Replies: 7 Views: 794 Hi...
yes its absolutely fine...
This problem is because your system is not configured as smtp (the email sending port)... so php is not able to send mail... thats y this error occurred...... |
Forum: PHP Dec 14th, 2008 |
| Replies: 7 Views: 794 Oops.. im extremely sorry the url will be
$db_url = 'mysql://root<colon><at the rate symbol>localhost/drupal'; |
Forum: PHP Dec 14th, 2008 |
| Replies: 7 Views: 794 Hi..
i think the above $db_url had a smiley in between....
this was due to some smiley shortcut...
the db_url will be ...
$db_url = 'mysql://root<colon>localhost/drupal'; |
Forum: PHP Dec 14th, 2008 |
| Replies: 7 Views: 794 Hi...
Its pretty simple... You should have read install.php carefully..
Anyways..
1) In the drupal folder, there is a site folder and in there you have a default folder..
Just rename the... |
Forum: PHP Dec 12th, 2008 |
| Replies: 3 Views: 1,387 Hi...
Why are u comparing this value with 50....
preg_match returns true of false...
If you are comparing with the strlength, then use different if for comparing the string length..
use the... |
Forum: PHP Dec 11th, 2008 |
| Replies: 4 Views: 594 I hope you are using the query in the following way:
<?php
function PhotoListQuery ($user, $album, $imViewAuth)
{
........
} |
Forum: PHP Dec 11th, 2008 |
| Replies: 4 Views: 594 Just check again your query function...
Why to put 2 { (braces) next to function declaration...
Secondly after FROM: what is image and album.... if they are variables then put $ before their names,... |
Forum: PHP Dec 5th, 2008 |
| Replies: 5 Views: 1,448 Hii...
By default, php assumes that the type of the variable is string..
So this also sometimes create a confusion for compiler as well..
So while you do mathematical calculations, it happens... |
Forum: PHP Dec 2nd, 2008 |
| Replies: 5 Views: 1,087 Hi I really doubt whether this piece of code will work for every date.. It might not work with february date, leap years, and for months with months with 30 days like april..
Im providing you with... |