Hi Michael,
Yes I do! Take a look at the code snippet below:
echo "";
$level2 = $db->execute("select typename from types");
do {
$value=$level2->fields[0];
echo "$value";
$level2->nextRow();
} while (!$level2->EOF);
$level2->close();
echo "";
Hi,
what's up Mick?!
Okay, what have you written in your script?! You never
wrote it! try include ('./domain.php') instead of
include ('domain.php') maybe it helps you! I tested
that on my FreeBSD 4.2+apache/php but it seems that
include ('domain.php') is also OK. Just give it a try or
add the d
Or better using:
create table test1 (t1 char(5), t2 char(5), primary key (t1), unique (t2));
when creating table. No duplicate records with the same t2 because it's unique.
Ahmad Anvari
- Original Message -
From: Kath
To: Brandon Feldhahn ; [EMAIL PROTECTED]
Sent: Sunday, Fe
define a UNIQUE field :)
- Original Message -
From: Brandon Feldhahn
To: [EMAIL PROTECTED] ; [EMAIL PROTECTED] ; [EMAIL PROTECTED]
Sent: Sunday, February 25, 2001 4:03 PM
Subject: [PHP] No same username
how do i make somthing with my database that knows it the username
hi,
try $tomorrow = mktime(0,0,0,date("m") ,date("d")+1,date("Y"));
or maybe better than this, if you convert the date to the standard
unix timestamp and use DATE function.
Best of luck,
Ahmad Anvari
- Original Message -
From: kaab kaoutar
To: [EMAIL PROTECTED]
Sent: Sunday, F
Here?! Sunny today! ;-)
I highly suggest you use client side scripting in this case.
onLoad
Event handler. A load event occurs when Navigator finishes loading a window or all
frames within a tag. The onLoad event handler executes JavaScript code when
a load event occurs.
Here's a sample code
Hi Kaab,
There must be another problem, it should work. Maybe it helps if
you send your code here. To see how a simple script works, try
this tiny script named test.php:
Submit is pressed"; };
?>
If you first load the php page, you don't see anything rather than a
submit button. If you press
Hi,
I didn't get why you haven't used this:
switch $var
case something: $result=$build_result(); break;
case somethingelse: $result=$build2(); break;
blah blah blah...
Ahmad
- Original Message -
From: Peter Van Dijck
To: php gen list
Sent: Saturday, February 24, 2001 4:0
Hi Dhaval,
You said in your previous e-mail 'C:\'. Are you using a NT based
server or Unix based? If your server is a unix based one, consider
trying this command:
chmod 777 /path/to/directory
Warning, this is a bit dangerous and might be vulnerable, are you
running your webserver with nobody? Any
Hi Brandon,
You asked me in a private e-mail about anti-aliasing. As far
as I know if ImageTTFText function, if you use negative color
reference [such as -1, -2], It turns off the anti aliasing. I think
the text is automatically antialiased using a positive number.
Anyone, with a sharp idea? ;-)
A
Hi April,
I suggest you code your array into one string (it depends to the size)
then decode it at the other end using your own code. It's the easiest
trick to pass the array, compress it into one variable, then extract it at
the other end.
Any other ideas? ;-)
Ahmad
- Original Message
Hi,
Consider using ImageCreateFromGif will help you. Then
use ImageTTFText to write some text on the loaded gif
and ImageGIF it to output the image as gif :)
Ahmad Anvari
- Original Message -
From: Brandon Orther
To: PHP User Group
Sent: Tuesday, February 06, 2001 7:50 PM
Sub
Hi Karl,
Simply put a save button on your page. When it's clicked,
pass document.forms[0].textareaname.value to the other
script, (it's written in javascript, if you're familiar with that),
then you'll access the content of the text box.
to save it on a local disk, simply use javascript again, it
Hi Michael,
Use a temporary variable [counter], if counter%3 == 0 then
write in the output.
$counter=0; print "";
while($row = mysql_fetch_array($result)) {
echo "".$row["user_id"].""; $counter++;
if (!$counter%3) { echo ""; }
}
That's all ;-)
Ahmad Anvari
- Original Messa
14 matches
Mail list logo