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.)
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...
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...
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...
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...
I am dynamically creating a form with check boxes and hidden fields. The form
text names and hidden field names are being dynamically created depending on the button clicked on
my page (being pulled from my mysql database).
I am then needing to insert the responses to the check boxes into a...
I have a table of "activities" and a table of "user_activities".... once a user completes an activity in the "activities" table and logs that in on our web site it shows up as a completed task... here is the query that is used:
==========================>
Select...
I have a table of "activities" and a table of "user_activities".... once a user completes an activity in the "activities" table and logs that in on our web site it shows up as a completed task... here is the query that is used:
==========================>
Select...
I have a table of "activities" and a table of "user_activities".... once a user completes an activity in the "activities" table and logs that in on our web site it shows up as a completed task... here is the query that is used:
==========================>
Select...
I have a table of "activities" and a table of "user_activities".... once a user completes an activity in the "activities" table and logs that in on our web site it shows up as a completed task... here is the query that is used:
==========================>
Select...
Help! - Can not include() or require() a URL into Document! -
----php code I am using:---------
<?php
require ('http://www.anyurl.com');
?>
----My php.ini Settings are:---------
==========================================
; Fopen wrappers are set to on;
allow_url_fopen = On
; Paths and...
I am converting a very old database (a few hundred .dbf files) to Access and have run into a situation where I have 80 tables each representing a different districts data ((all of which have the same number of fields - field names - and the tables are named after the districts ))
Instead of...
I am wanting to have a user defined variable name in an access query (so that a pop up box prompts user for input)
here is what I have:
SELECT *
FROM ORD00000
GROUP BY ORD00000.ITEM_NO, ORD00000.CAT_TYPE, ORD00000.PRE_EST, ORD00000.FIN_ORD, ORD00000.LST_YR_TOT;
here is what I Need:
SELECT *...
Anyone have a tip to accomplish aggregating ((using count - distinct count some how Id assume)) the percent in a given field (example: we have a table with 3 million cases and a gender field - what would the SQL syntax be to generage a aggregated table of the percent of male vs. females?) any...
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.