Just my two cents :)
$temp = "";
echo "\n";
while ($mydata = mysql_fetch_object($myquery)) {
if ($temp != $mydata->district) {
$temp = $mydata->district;
echo "$mydata->district\n";
}
echo "$mydata->city
$mydata->place
$mydata->meetingtime\n";
}
echo "\n"
I just found it: implode. Sorry to bother you.
__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello everybody.
Is there any built-in function to convert an array to
string?
Thanks.
__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: htt
Hi!
I'm not sure this could be your problem, but this is
what I see:
$numlin = '/bin/cat
/dcsa-ws1/share/webadm1/public_html/system-reports/security/rhosts/eqty/$system
| /bin/wc -l';
I think you should write it like this:
$numlin = "/bin/cat
/dcsa-ws1/share/webadm1/public_html/system-reports
Thank you for the links Mr. Rees.
I specially liked the one about MS giving $500K to the
Peruvian President.
Thanks to everybody's help I have some "BIG
COMMERCIAL, IMPARTIAL, RECOGNIZED WEBSITES" articles
like IBM, Yahoo and Google.
I'm very thankful to all of you.
Regards, Douglas.
_
Hello everybody.
I've been doing some research about the PHP vs ASP.NET
debate, because I need to justify the use of PHP in my
graduation work.
In my University, people in charge of approving the
graduation works advocate Microsoft's technologies.
They don't believe in the free software movement
Thanks to everybody for your kind responses.
By the way, I go to the Universidad de El Salvador
(Central America).
In a such poor country like this, Free Software and
Open Source could be the answer to the government's
software needs.
Unfortunately, MS has the monopoly in the government's
softwa
Thanks for the answer Mike.
Thanks for the explanation, but I think this is a
different case, isn't? I'm not trying to do this
${$_POST}, I'm trying to make this string $_POST.
And I have another question. Why does this code work?
';
print_r($_POST);
echo '';
$method = 'POST';
$data = ${'_'.$met
Hello everybody.
I have the following class method:
function HTTPValidator($method)
{
$this->data = ${'_'.$method};
$this->rules= array();
$this->required = array();
}
data, rules and required are arrays. The parameter
$method can have the values: GET or POST. I'm trying
to sto
I want to thank you Ian, Zydox and Nicos.
After Zydox response I checked the manual again and
read this part in the substr function:
"If length is given and is negative, then that many
characters will be omitted from the end of string
(after the start position has been calculated when a
start is
Good day.
Is there any PHP function that removes only the last
character of a string and returns the new string?
I'm looking in the manual and I can't find anything.
Until now I'm doing this:
$var=substr($var,0,strlen($var)-1)
Is this the most efficient way?
Thanks.
_
I think your error is this:
$userVars = array($nameFirst, $nameLast, $pass,
$pass2, $auth, $dob_year, $dob_month, $dob_day);
for ($i=0; $i <= count($userVars); $i++) {
if (empty($userVars[$i])) {
echo "please enter all required info";
Hi all.
I'm sorry about the dumb question, but I've just
expend two hours trying to find the damn cookie and I
couldn't :(
I've read that when you use sessions and configure the
php.ini with session.use_cookies = 1, your sessions
will always send cookies to the client (if the client
accept the cook
13 matches
Mail list logo