[PHP-WIN] Re: MySQL Errors

2004-10-21 Thread Robert Schipper
Hello Mikea. You have to know that i am new to php, too. And i am also struggling to understand the code. Well, i would suggest you take something less complex to start up. But if you still want that code for the beginning.. make sure the database xy (that part is missing in the code) has a table a

[PHP-WIN] Re: MySQL Errors

2004-10-21 Thread MikeA
This is an applic that I got off the internet that I am trying to install. An example of the code follows. if ($action=="memberlist") { /* get the total number data and find out what the grand total is */ $sql = "select id, title, price from ad_details where member_id=" . $_SESSION['login_id'];

RE: [PHP-WIN] COM Object and Acrobat 6

2004-10-21 Thread Gryffyn, Trevor
> -Original Message- > From: Weber Bernd-Thomas [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 21, 2004 7:33 AM > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] COM Object and Acrobat 6 > > I try to access Acrobat 6 as COM Object. My problem is that I > don't know the aviable methods. >

[PHP-WIN] Changing loaction of php.ini file

2004-10-21 Thread Rafael Soares | AgênciaM
Hello. I have PHP installed and working well on IIS 5.1. But I’ve installed a CMS that configures its own php.ini file, saving a backup of mine, name php.backup.ini. There isn’t a way to change the location of one of them? It’s so boring to change the name of each file every time I’ll w

RE: [PHP-WIN] Re: MySQL Errors

2004-10-21 Thread David Hamilton
This might also be of some help. Change your result and fetch lines to read: $result = mysql_query($sql,$db) or die (mysql_error()); $myrow=mysql_fetch_array($result) or die(mysql_error()); David -Original Message- From: Robert Schipper [mailto:[EMAIL PROTECTED] Sent: Thursday, October

[PHP-WIN] Re: MySQL Errors

2004-10-21 Thread Robert Schipper
hello mikea, looks like there is something missing in your sourcecode, which you should have provided. do you give any arguments to mysql_fetch_array() ? Do you check if it is not false? your code should look like this: $sql = "SELECT * FROM example"; $result = mysql_query($sql,$db); if ($result) {

Re: [PHP-WIN] Post method not working

2004-10-21 Thread Sudeep
Hi brian, You have an error in line: print "You chose a $borderStyle border"; It should be like this: print "You chose".$_GET["borderStyle"]."border"; B'cause $_GET["borderStyle"] is the correct way to capture things that are sent thru url. And for POST variable it should be $_POST["bor

[PHP-WIN] COM Object and Acrobat 6

2004-10-21 Thread Weber Bernd-Thomas
Hi, I try to access Acrobat 6 as COM Object. My problem is that I don't know the aviable methods. I want to rotate all landscape and then add page numbers. Any ideas? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Post method not working

2004-10-21 Thread Janet Valade
Brian wrote: OK, I'm new to php, so be gentle :) I have just installed PHP 5.0.2 on Windows XP Pro\IIS 5 I am learning PHP with one of those step by step books, and I have run into an issue with forms. They don't seem to be getting the variable I am passing. This code works: But this does not: E

[PHP-WIN] Post method not working

2004-10-21 Thread Brian
OK, I'm new to php, so be gentle :) I have just installed PHP 5.0.2 on Windows XP Pro\IIS 5 I am learning PHP with one of those step by step books, and I have run into an issue with forms. They don't seem to be getting the variable I am passing. This code works: But this does not: Even wh