Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    PHP


SuperbHosting.net have generously sponsored dedicated servers to ensure a reliable and scalable dedicated hosting solution for BigResource.com.





Is The Php Install For Xp/apache Supposed To Build The Extensions Folder And Populate It?


Is the php install for xp/apache supposed to build the extensions folder and
populate it? If so, and mine didn't do this, what does it indicate? (phpinfo
runs fine).




View Complete Forum Thread with Replies

Related Forum Messages:
Install Any Extensions
My system environment is PHP 4.3.8 Web server Apache/2.0.52 (Win32) mod_ssl/2.0.52 OpenSSL/0.9.7e I was trying to enable curl extension by uncomment php_curl.dll in php.ini. But right after I uncommented php_curl.dll, I couldn’t load any PHP pages. It looked it is loading from the status bar. But eventually I got nothing loaded.

I also happened to find out that this happens when I uncomment any extension (dlls). There was another person who had the same issue. http://bugs.php.net/bug.php?id=30521&edit=1. But in the reply, it says this problem does not imply a bug in PHP itself.

View Replies !
Cleaning Up After Php Build And Install
I've compiled a custom version of php with extensions persuant to my
needs, but now want to clean up the files used in the compilation.

When the php cgi is compiled, are all the extensions compiled into the
one file, or does the cgi reference libraries pointed to in the php
configure statement? If it references other files, how do I know which
ones it points to, so as to know what I can and can't delete.

View Replies !
Trying To Build PHP 4.3.0 With Apache 2.2.2 On SUSE 9.1
Whilst I grep around for the first set of problems, I thought I'd ask
any generous members of this PHP community for clues...

I've started by trying out the instructions at:
http://dan.drydog.com/apache2php.html

Got this out of the make:
-----------------------------------------------------------------------------------------------
/bin/sh libtool --silent --mode=compile gcc -Isapi/apache2filter/
-I/root/downloads/php-4.3.0/sapi/apache2filter/ -DPHP_ATOM_INC
-I/root/downloads/php-4.3.0/include -I/root/downloads/php-4.3.0/main
-I/root/downloads/php-4.3.0 -I/usr/local/Apache2/include
-I/root/downloads/php-4.3.0/Zend -I/usr/local/include
-I/root/downloads/php-4.3.0/ext/xml/expat
-I/root/downloads/php-4.3.0/TSRM -g -O2 -prefer-pic -c
/root/downloads/php-4.3.0/sapi/apache2filter/sapi_apache2.c -o
sapi/apache2filter/sapi_apache2.lo
In file included from /usr/local/Apache2/include/apr_strings.h:48,
from
/root/downloads/php-4.3.0/sapi/apache2filter/sapi_apache2.c:34:
/usr/local/Apache2/include/apr.h:270: error: parse error before
"apr_off_t"
/usr/local/Apache2/include/apr.h:270: warning: data definition has no
type or storage class
In file included from
/root/downloads/php-4.3.0/sapi/apache2filter/sapi_apache2.c:34:
/usr/local/Apache2/include/apr_strings.h:297: error: parse error before
"apr_off_t"
/usr/local/Apache2/include/apr_strings.h:313: error: parse error before
'*' token
/usr/local/Apache2/include/apr_strings.h:349: error: parse error before
"size"
In file included from /usr/local/Apache2/include/apr_file_io.h:29,
from /usr/local/Apache2/include/apr_network_io.h:26,
from /usr/local/Apache2/include/apr_buckets.h:29,
from /usr/local/Apache2/include/util_filter.h:26,
from
/root/downloads/php-4.3.0/sapi/apache2filter/sapi_apache2.c:36:
/usr/local/Apache2/include/apr_file_info.h:204: error: parse error
before "apr_off_t"
/usr/local/Apache2/include/apr_file_info.h:204: warning: no semicolon
at end of struct or union
/usr/local/Apache2/include/apr_file_info.h:206: warning: data
definition has no type or storage class
/usr/local/Apache2/include/apr_file_info.h:212: error: `ctime'
redeclared as different kind of symbol
/usr/include/time.h:254: error: previous declaration of `ctime'
/usr/local/Apache2/include/apr_file_info.h:219: error: parse error
before '}' token
In file included from /usr/local/Apache2/include/apr_network_io.h:26,
from /usr/local/Apache2/include/apr_buckets.h:29,
from /usr/local/Apache2/include/util_filter.h:26,
from
/root/downloads/php-4.3.0/sapi/apache2filter/sapi_apache2.c:36:
/usr/local/Apache2/include/apr_file_io.h:548: error: parse error before
"apr_off_t"
/usr/local/Apache2/include/apr_file_io.h:740: error: parse error before
"apr_off_t"
In file included from /usr/local/Apache2/include/apr_buckets.h:29,
from /usr/local/Apache2/include/util_filter.h:26,
from
/root/downloads/php-4.3.0/sapi/apache2filter/sapi_apache2.c:36:

/usr/local/Apache2/include/apr_network_io.h:545: error: parse error
before "apr_off_t"

View Replies !
Finding Extensions On Apache
I have set up Apache 1.3.27, MYsql 5.0.21 and PHP5.1.5 as an apache module on my WinXPSP2 machine. I have the ZoneAlarm free version running as a firewall (before I had Kerio).

Apache works, MySQL works via the MySQL GUI tools and PHP delivers a page of info when I call a phpinfo() file in the browser.Firefox.

But it does not seem to find the extensions - I have tried to set up PHPMyAdmin which keeps telling me that it cannot load the mysql extension and that I need to check the php.ini. MYSQL is not shown on the phpinfo page either as itself or under "additional modules". Code:

View Replies !
Can't Build Apache/PHP/MSSQL On Solaris
Having read everything I can, and compiled apache/php 30/40 times, I cannot seem to get a static version of PHP working with FreeTDS. I know the FreeTDS drivers for MSSQL are working, cos it took minutes to install the Perl Drivers.

However, the PHP drivers just will not work ! The BBs/Forums all seem to complain about exactly the same problem, and the only success stories are for Linux. Is this because PHP isn't supported as well as Perl ? Has anyone out there got PHP running on Sparc to talk to an MSSQL server ?

View Replies !
PHP Install With Apache
I tried to install PHP 4.0.0 and then PHP-3.0.16 but failed both the times. I am working on i386/ Caldera Linux 2.2.14 My apache server (1.3.11) is working alright. I tried both the rpm and gz install packages.

Here's what I did:
# gunzip -c php-4.0.x.tar.gz | tar xf -
# cd php-4.0.x
#./configure --with-mysql-with-xml--with-apache=../apache-1.3.11--enable-track-vars

how to install php4.0 or 3.0 to work with Apache and MySql?

View Replies !
Cannot Install Apache
I downloaded and installed apache_2.0.54-win32-x86-no_ssl.msi
By running binApache -k install I receive th following message:
<OS 10048>Normalerweise darf jede Socketadresse <Protokoll,
Netzwerkadresse oder Anschluss> nur jeweils einmal verwendet werden. :
make_sock could not bind to no listening sockets available, shutting
down
Unable to open logs

View Replies !
Install Apache
I have Apache HTTP Server 2.0.53 and PHP 4.3.10 programs and I want to install it on my computer so I can view .php pages offline (I don't have ADSL)? I tried myself but it doesn't work. Manual is complicated.

View Replies !
Apache Install
im using windows xp and im tryng to install apache/php/mysql when i installed apache i got this error:

no installed service "apache2" What does this mean? i tried to look at the service but i dont see anything apache2?? This occured when i tried to start the apache. MY installation was very sucessfull and also what does this error means

cannot make socket on 0.0.0.0

And forgive me for being so dumb in this apache /php after i installed the apache what are the things that i need to configure in httpd.conf to work in php?

View Replies !
Install Apache,MySQL And PHP
I may sound like a newbie, but I've started my new job and we are running on Windows XP where previously I was using LINUX , and now I want to install Apache,MySQL and PHP, not done this for a while.

Been to php.net but confused as to which one to download, any helpers? Also where to install the other stuff.

View Replies !
Install Problem Apache Php
I have been struggling in my spare time configuring apache and php.
I am running windows xp pro O/S.

Here is the problem, if i install apache choosing the option "For all
users on port 80 as a service, recommended", all works fine i can
create php files and run them in my browsers but i have to be online,
it won't work offline (I understand port 80 is the web, can i change
it and how if yes?).

Now if i install apache with the second option "only for the current
user on port 8080, when started manually." in order to be doing what i
really want which is to test my code offline on my PC, nothing will
work.I get the console and don't know what to do with it.I am supposed
to start apache manually but how?

View Replies !
Apache 2.2.3 PHP 4.4.5 Install Fails
I have Apache 2.2.3 installed and running on WinXP Pro SP2. I
installed PHP 4.4.5 and added the following lines in httpd.conf

PHPIniDir C:/PHP445/
LoadModule php4_module C:/PHP445/php4apache2.dll

When I restarted Apache, i got this error:

The Apache service reported the following error:

Quote:

View Replies !
Apache Php Cgi Install Problem
I am trying to install PHP 5.0.4 on Apache 2.0.54 on WinXP Pro SP2 as a
cgi binary.

Apache2 directory is c:/Apache2
htdocs is c:/Apache2/htdocs

php is installed in c:/php
This contains php.ini, php-cgi.exe and php5ts.dll and other files
required for the module method of php installation are also present,
but i think additional files being present should not cause any problem

Directory containing php scripts is C:/Apache2/htdocs/php

My httpd.conf file has

#----------------------------------------------------------
ScriptAlias /php/ "C:/Apache2/htdocs/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "C:/php/php-cgi.exe"
#ScriptAliasMatch ^/php(.*) C:/Apache2/htdocs/php$1
#----------------------------------------------------------

I get the error
[Wed Feb 22 15:01:18 2006] [error] [client 127.0.0.1]
C:/Apache2/htdocs/php/index.php is not executable; ensure interpreted
scripts have "#!" first line
[Wed Feb 22 15:01:18 2006] [error] [client 127.0.0.1] (9)Bad file
descriptor: don't know how to spawn child process:
C:/Apache2/htdocs/php/index.php

in the Apache error log.

What could be the error?

I have no experience in CGI - I only know it stands for Common Gateway
Interface - is there something needed to be read up first?

I assume when run in CGI mode, whatever you put in your "cgi" diectory
(here it is c:/Apache2/htdocs/php) it will be treated as a script.
Because if I try http://localhost/php/file.htm it still gives the same
error.

Also, if I put #! on the first line I get
[Wed Feb 22 15:33:45 2006] [error] [client 127.0.0.1] (OS 2)The system
cannot find the file specified. : couldn't create child process:
720002: index.php
[Wed Feb 22 15:33:45 2006] [error] [client 127.0.0.1] (OS 2)The system
cannot find the file specified. : couldn't spawn child process:
C:/Apache2/htdocs/php/index.php
or
[Wed Feb 22 15:36:18 2006] [error] [client 127.0.0.1] (OS 193)%1 is not
a valid Win32 application. : couldn't create child process: 720193:
index.php
[Wed Feb 22 15:36:18 2006] [error] [client 127.0.0.1] (OS 193)%1 is not
a valid Win32 application. : couldn't spawn child process:
C:/Apache2/htdocs/php/index.php

Any suggested readings?
I've googled the web and Google Groups but not able to get anything
newer than what i know so far.

View Replies !
Install Php4.0.0 In Apache
I have Apache and i want to install php4.0.0. How can i do that?

View Replies !
Install Apache PHP And MySQL
install apache and configure php and my sql to
work with apache.

View Replies !
How To Install Apache Server.
how to install Apache server.

View Replies !
PHP Install On APACHE A Failure
I've been trying all day to configure PHP with Apache and it's been a nightmare I've tried every suggestion that is out there, including PHP's official manuals, and it's been nothing, but a failure. Code:

View Replies !
Install PHP5, Apache 2.2 And IIS
The book that I have talks you through the setup of both Apache and PHP. I allready have IIS installed. when I go to localhost:8080 I get an unable to find page come up.

I have checked the error log and I get the following;

[Wed Jan 31 13:28:58 2007] [error] [client 127.0.0.1] File does not exist: C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/favicon.ico

I have checked for the file on my system and it is indeed not there. But surely not having a favicon is not a reason to shut it down?? If so I have downoloaded the latest full packages today, so seems a little strange that it is missing.

View Replies !
Apache Install Error
Just downloaded apache 2.o and it wont run. The error I keep gettin is "DocumentRoot not a directory" I downloaded it as was told so not sure wat the problem is. It's probably something really easy.

View Replies !
Win98 Apache And Php Install Not Wokring.
I have installed the latest Apache and PHP binaries (the PHP CGI executable release - not the ISAPI). I then configured the httpd.conf sciprt using the install.txt file from the PHP install and 2 reference books as guides. This got me to the point where I BELIEVE the PHP interpretor is kicking in for .php scripts. But when I try and browse the following page : <? php_info() ?> I get the following error :

Fatal error: Call to undefined function: php_info() in e:/apache/htdocs/phptest.php on line 1 Code:

View Replies !
Install PHP5 And Apache 2.2.2 (Linux)
I'm running into the same problem that no doubt many are. I'm installing PHP 5.1.4 and Apache 2.2.2 on the same server, but Apache won't recognize the PHP module, saying it's garbled.

I understand from reading various bug reports that PHP will release this option come 5.2.0, but I want to know if anybody has PHP 5.1.4 and Apache 2.2.2 working under Linux yet.

View Replies !
Install Prob With Php/cgi/unix/apache... Any Help Is Appreciated...
I'm running php as a cgi on unix server with apache. I modified my httpd.conf file to have

AddType application/x-httpd-php .php
Action application/x-httpd-php /cgi-bin/php
ScriptAlias /cgi-bin/ "/disk2/opt/eai/visnetwork/cgi-bin/

in cgi-bin I have a link called php which points to the php executable which resides in /usr/freeware/bin/.
when I point to any php file I get this message:


Warning: Unexpected character in input: '' (ASCII=16) state=1 in /usr/freeware/bin/php on line 217

Warning: Unexpected character in input: '' (ASCII=8) state=1 in /usr/freeware/bin/php on line 217

Warning: Unexpected character in input: '' (ASCII=20) state=1 in /usr/freeware/bin/php on line 217

Warning: Unexpected character in input: ' in /usr/freeware/bin/php on line 217

Warning: Unexpected character in input: ' in /usr/freeware/bin/php on line 217

Warning: Unexpected character in input: ' in /usr/freeware/bin/php on line 217

Parse error: parse error in /usr/freeware/bin/php on line 217

I think what is happening is that php is loading itself into the executable instead of the file that I'm linking to. I have verified this by running php on itself from the command line and I get the exact same error. I have a feeling I am overlooking some simple little detail. Can anyone help me out? I've been searching for days now and got a hot tip about this website.

View Replies !
Install Php4 And Php5 At The Same Time To Apache
Here is some note about installation together php4 and php5 on apache2.

First you need is to edit with the help of hex editor php4apache2.dll (in my case, or php5apache2.dll) in php4 directory. You find "x-httpd-php" and replace with "x-httpd-plc" e.g. (I found 2 matches) Save your dll file and edit your apache config (httpd.conf) e.g. like: Code:

View Replies !
Install Php5 On A SuSE 9.3 Linux System Running Apache 2.0.49
I am trying to install php5 on a SuSE 9.3 Linux system running apache 2.0.49. For some reason,when attempting to restart the server,I get the following error:

"Syntax error on line 26 of /etc/apache2/sysconfig.d/loadmodule.conf:

Cannot load /usr/lib64/apache2-prefork/libphp5.so into server: /usr/lib64/apache2-prefork/libphp5.so: undefined symbol: php_session_create_id"

Does anyone know what is causing this error,or what I can do to correct it?


View Replies !
Copy A File To Folder In Apache Directory From Html Form
Does anyone have a PHP script that will take a file uploaded by a user via a HTML form, i.e.:

<input type="file" name="filename" id="filename" class="textbox">

Take the file and copy it into the Apache directory on the server?

i.e. on my local machine Apache2.2/htdocs/mini/images/*FILEINHERE*

View Replies !
Isn't PHP Supposed To Be Cross Platform?
My hosting provider says in their page they only support PHP for Linux, what does that mean? If I upload files that I made in a windows pc they won't work or what? isn't PHP supposed to be cross platform?

View Replies !
One Function Doesn't-they're Supposed To Be Identical
I found this nifty function via Google for gracefully shortening results, and I used it to shorten the body of a message, and it worked doozy. Thing is I also need it to shorten the title, but the title isn't being shortened like it should. Code:

View Replies !
Footer Positioning Not Where It Is Supposed To Be
I am having some trouble getting my footer to act as a footer. It seems to be jumping into the last table of my smarty array instead of below it and it has taken on the boarder that is defined as such in the CSS of my smarty template. Code:

View Replies !
Can't Install PHP - Keep Getting "Invalid Directory" Error Regarding The Path To Apache Httpd.h
I've installed Apache 1.3.36 on my Redhat EL 3 machine. Now I'm trying
to install PHP 5.1.4. I can not get the ./configure command to work. I
keep getting this error:

configure: error: Invalid Apache directory - unable to find httpd.h
under /usr/local/apache/include

So then I run this command:

find / -name httpd.h

which should find every file on my machine with the name "httpd.h".
These are the results I get:

/usr/local/apache/include/httpd.h
/home/shelley/apache_1.3.36/src/include/httpd.h

So I've rerun the ./configure command, using this first:

--with-apache=/usr/local/apche/include

and since that didn't work:

--with-apache=/home/shelley/apache_1.3.36/src/include/httpd.h

but I get the "Invalid directory" error with both addresses.

View Replies !
Populate/Re-Populate Array "onClick" With Checkboxes
I have a list of items - could be 1 could be 100 on 1 page. Each item has a checkbox. Looks something like:

<input type="checkbox" name="expsel[]" value="<?=$somevar['id']?>" onClick"document.myform.submit

Basically what I'm trying to do is this:

#1 - when an item is checked - submit the form and store the value of the checkbox in a session array. $_SESSION['userinfo']['expsel'] which will be an array of its own.

#2 - when an item is unchecked - submit the form and reprocess the array to remove the item that was unchecked.

The reason for the session array is that at some point they will have selected all that they want and will press a button or link to export to CSV. So I'll process the session array and get them the info needed. That part is no biggie.

I'm having problems understanding how what to write to catch the checked/unchecked boxes.

View Replies !
Can I Install Apache/MYSQL Side By Side With IIS?
However I also have a few sites I maintain that are Nix/PHP/MySQL. I would like to install PHP and MySQL on my windows machine. It would be ok if the PHP pages worked in the IIS environment such as http://localhost/index.php

However I thinka better solution may be to install
apache/php/mysql/phpmyadmin side by side with IIS.

Would I be able to run it side by side with my IIS

To get to IIS : http://localhost/index.asp
To get to Apache: http://localapache/index.php

I suppose I would like to use .htaccess locally to test mod_rewrites.

View Replies !
How The Syntax Is Supposed To Work For Update Queries With POST Data?
Not sure how the syntax is supposed to work for Update Queries with POST data. 

$q = "UPDATE articles SET sub=$_POST['c'],
title=$_POST['t'],
name=$_POST['n'],
email=$_POST['e'],
date=$_POST['d'],
description=$_POST['d'] WHERE id=$_POST['articleid'] LIMIT 1";

View Replies !
Libtool: Install: Error: Cannot Install `libphp5.la' To A Directory Not Ending In /va
I am trying to install php on a Solaris 9 box. Here is my configure statement: Code:

View Replies !
Is A PHP Variable Supposed To Be Seen In A .js File Included Into A .php File
Is a PHP variable supposed to be seen in a .js file included into a .php
file?

I have a client side javascript code stored in a .js file which is included
into a PHP file using
<script src="filename.js></script>

This code initialises a Javascript variable
var u="string";

The string is supposed to be the value of $HTTP_HOST

So, when initialise this variable like

var u=<? echo $HTTP_HOST;?>;

I sterted getting a javascript message Syntax Error

Am I doing something wrong, or PHP variables are not seen in included js
files?

View Replies !
File Upload Question - File Does Not Appear Where It Is Supposed To
I used the following test files to test the file upload. It works fine except that the file does not appear where it is supposed to. In fact, it does not appear anywhere accessible! It ends up in /tmp/some_random_name. When I check the directory /tmp no such file or folder exists!

Since this is a site hosted by an outside hosting company, I cannot modify the php.ini file, as directed in the php manual to change the temp_dir (if this is what I need to do). This is what I have and the output: Code:

View Replies !
Use For Install Like /install Or Install.php Or Setup.
I am trying to install a php script and there is nothing about what to use for install like /install or install.php or setup. I have tried to contact the developer email sends back.

View Replies !
Drag Files From One Folder To Another Folder (copy) .. Possible?
Is it possible to write codings PHP or Javascript.. GUI representation
of File handling (ie. Drag files from one folder to another folder (copy)
like our windows).. pls give me some reference codings like this..

View Replies !
Creates A Temporary Folder And A File Within The Folder.
I have a PHP script which creates a temporary folder and a file within the folder.

I have a problem when trying to remove the file and folder using my FTP program. The ownership and group are set to NOBODY. I cannot change the permissions on either the file or the folder.

I have tried chmod and chgrp and chown but for some reason I cannot change permissions.

View Replies !
PHP Install Core Dump "make Install" PEAR On Solaris 9
php has been configured with the following two configure lines and
core's during "make install" on the PEAR section. Is there something
simple i'm missing? Any help would be appreciated.

Environment:

Solaris 9
php 5.2.1
GNU Make 3.81
gcc 4.1.1

../configure --prefix=/opt/foo/php5 --enable-force-cgi-redirect --
enable-discard-path --enable-fastcgi --with-curl=/opt/foo --enable-
sockets --with-zlib=/opt/foo --with-libxml-dir=/opt/foo --with-
openssl=/opt/foo --with-nsapi=/opt/foo/sunone/current --enable-ftp --
with-ldap=/opt/foo/openldap --with-snmp=/opt/foo/net-snmp --enable-
soap --with-xsl=/opt/foo --enable-libgcc --with-mysql=/opt/foo/mysql --
with-pear .....

View Replies !
"asort" Is Not Doing What It Is Supposed To Do
I have this problem reading the contents of a directory. here is my code:

$my_dir = dir('data/templates');

asort($my_dir);

while (false !== ($entry = $my_dir->read()))
{
echo $entry."<br>
";
}
$my_dir->close();

But I need it to read the directory in alphabetical order and I cannot
succeed in this. "asort" is not doing what it is supposed to do. Can
somebody tell me how to achieve this?

View Replies !
Remove From $name (folder)/(folder)/[x]/ <-- If Exists To Just Get [x].
I'll be quite honest. I don't have the faintest idea
how to do this, while I can do other php without a problem. Once I
know how to go about it I'll be okay.
It's two things I think?
1. see if there's a trailing slash and delete it.
2. Remove the preceding path to /x, the folders and slashes, and
delete them.
and then I have x.

X by the way is the final folder in a website and this grabs it for
me.

<?
$name = $REQUEST_URI;
?>

View Replies !
Get /folder/ To Redirect To /folder/index.php ?
I have a link www.example.com/folder/ but when people visit this i want it to go to www.example.com/folder/index.php because then it will log the page visit. Any ideas using mod rewrite i can get /folder/ to redirect to /folder/index.php ?

View Replies !
File In Folder Above Root Folder
I have a .php script in a folder one level above my website root, and I'd like to include it in pages in various website subfolders, some below the root. Can I use ($_SERVER['DOCUMENT_ROOT'] in the path in some way.

View Replies !
Using Php To Populate A <ul>
I'm am pulling data from a mysql db and want to use the data to populate a <ul. Here are relavent parts of my code :

$wohdate = mysql_result($wohRS,$wohndx,woh_date);
$woh_display .="<li>".$wohdate."</li>" ;

$TemplateText = Replace($TemplateText,"@$wohdisplayndx@",$woh_display);


print($TemplateText) ;

So, I have 8 woh_dates that I retrieve (verified with an echo).
My page only displays the first of the 8.
ie :
2000-01-01
2001-01-01
2002-01-01
are retrieved, but only 2000-01-01 is displayed on the page.
Something wrong with appending as I am doing in
$woh_display .="<li>".$wohdate."</li>" ;

View Replies !
Populate One Menu From Another
I thought this would be simple and there would be advice / tutorials
everywhere for this, but now that I'm working on it, I can't find any
reference except for ASP or Javascript code. PHP/MySQL - 3 form select
menus: Project, Categories, Subcategories. When a Project is selected, the
Categories list is populated based on Project selected, then Subcategories
list is populated based on Category selected. I see this all over the Net,
but through 10 books, there isn't anything specific. I think I get lost
with some of PHP structure since I've been using DW - I end up editing most
of it in order to follow it, but DW works pretty good for getting initial
testing done. I just can't seem to find further guidance on this. So far I
have:

View Replies !
Selection Of The First One To Populate The Second Box.
I have 2 drop down boxes on my site. I want the selection of the
first one to populate the second box.

View Replies !
Populate Form
I have a database of project number, client info, address, phone, ect. And I have a form to add data, and one to edit data... On the edit data form, I want to set it up so that when the project number is highlighted via a pull down list of active project numbers, that project number fill auto fill the form with the clients info from the database.

Then, the user can edit this info...and submit the mofifications. Is this done with php, javascript, or ajax? Which is best? I'm pretty sure this could be done with php, but how? Can I get an example of code? a good starting point.

View Replies !
Populate A Listmenu
I am trying to populate a listmenu from a database with php if I run the code below it works fine. Except if I want to run it inside the table where I need it then I get the Listmenu but its empty ?. Code:

View Replies !
Populate A List Box From A Url
I have two list boxs on a page Team A and Team B I would like to fill the list boxs with teams from a division.

So if I have a link to the form like myform.php?div_id=3 I want to populate the list boxs from the url so I only see teams for the division selected in the link Code:

View Replies !
Table Won't Populate
I am able to connect to the database with no trouble. The next thing I do is assing variable names to the POST variables. This is also working correctly.

The next step is to populate a customers table and that is working with no trouble. The next step is to perform some calculations from data in another table. The calculations are working as well.

The problem is when I try to populate the ORDERMAIN table. The fields won't populate and I can't seem to figure out why. I've checked to make sure that all my table fields match the columns in the query - that is fine.

I made sure that the columns in the query match the order of which the fields are in the table - that is fine. The only thing happening is no data is being placed into the table.

I'm hoping a second, third, or even fourth pair of eyes may see something that I am missing. Code:

View Replies !
Populate Combobox In PHP
is it possible to populate the comboxbox in PHP without reloading the entire page? we have three combo boxes the values of second combobox is populated from database according to selected item in first combobox but I don't need to regresh entire page.

View Replies !
Populate Dropdown
I've written a form for uploading data to a mysql database. To limit user error, I'd like one of the fields to be a dropdown of the contents of an image folder. I've got a dropdown of some mysql data taken from the database.

that's fine. And I can display the contents of the image folder in a big static block. that's fine too. But I can't seem to combine the techniques. point me in the right direction.

View Replies !

Copyright © 2005-08 www.BigResource.com, All rights reserved