Anyone ever have to Connect to ODBC data source on a Windows Machine from MAC OSX using PHP?... if so what process did you follow?
Thanks a ton!
Rich =================================
Imagination is more important than knowledge.
(A.E.)
Header('Content-type: application/msword');
Header('Content-Disposition: attachment; filename=NA.doc');
This is what I use.... works great and avoids COM.
I spit out regular HTML (MS Word 97 or newer has no problem at all rendering it).. the Header('Content-type: application/msword'); forces...
I am trying to loop through a multi-diminsional array
and having a little problems.
====================================================
Example array :
$rub[1][1][5] = 50.1
$rub[1][2][6] = 52.5
$rub[1][3][7] = 54.3
===========================================
Example code looping through to get...
To elaborate on rycamors post:
To get text field responses into and array :
<INPUT TYPE=text name="entry[1]" size=4>
<INPUT TYPE=text name="entry[2]" size=4>
<INPUT TYPE=text name="entry[3]" size=4>
<INPUT TYPE=text name="entry[4]" size=4>...
I execute a query through a macro.. data is returned to one wooksheet.... Now I am needing a specific cells to point to a graph template I have set up.
Example... query returns to sheet1:
|__Gender__|__Age__|__Score__|
|____M_____|___20__|___45____|
|____F_____|___19__|___47____|...
Does anyone know right off what function will allow me to trim the number of characters that a query field returns (or any variable/array for that matter)?
For example A MySQL query returns a field with 18 characters.. I am wanting to trim and display only the first 10 characters.
Thanks in...
I have a range of cells I have combined to make one column of comma seperated value cells. What I now need to do is look through that column for a value and if value is located extract only the last three characters of the comma delimited cell.
Example:
|__A__|
1,5,330
1,4,450
1,3,560
((I need...
when you use
<?php
require("file.php?color=#00FF00");
?>
does it do the same thing?
) =================================
Imagination is more important than knowledge.
(A.E.)
might try phptriad as well:
http://sourceforge.net/projects/phptriad/
sets up Apache, PHP, MySQL all at once on a Window$ machine =================================
Imagination is more important than knowledge.
(A.E.)
Thanks a ton for the lead...
How do access the site note using squid?.. I am not real familier with squid.
thanks again! :-) =================================
Imagination is more important than knowledge.
(A.E.)
Apache suddely started giving me a strange error message
When trying to access my php scripts:
--------------------------------------------------
ERROR
The requested URL could not be retrieved
----------------------------------------------------
While trying to retrieve the URL: myURL
The...
Apache suddely started giving me a strange error message:
--------------------------------------------------
ERROR
The requested URL could not be retrieved
----------------------------------------------------
While trying to retrieve the URL: myURL
The following error was encountered:
Zero...
It sounds kind of like an Apache issue,
your calling your page via http://www.yoursite.com/yourfile.php
or is it an index file you are calling via http://www.yoursite.com/
The only time I can recall getting a "Page can not be found" error was after upgrading Apache.
Just a though...
Has anyone ever writen a php application to search multiple pdf files contents and return the link to those files matching the search string? not totally sure this is even possible with php but thought this is the place to see if anyone has tried it.
Thanks in advance !!
:-)...
I am needing to loop throgh a mulit-dininsional array
(example: $norm_table_info[0][1])
Ho wo I loop through both key value pairs?
((example here is what I would typically do for a one diminsional array))
----------->
reset($norm_table_info);
while (list($k, $v) = each($norm_table_info)){
echo...
Whould anyone have any idea why this is not inserting anything to my database? I am positive the database connection is correct. here is my code.
==========================
<?php
$db = mysql_connect("localhost", "root");
mysql_select_db("SLIP",$db);
if (list($key...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.