yes, it was a structure like that i was looking for. so a class is a group
of functions?
i have heard about 'wrappers' to and from what i've heard it is the same
thing?
On Tue, Jul 12, 2011 at 11:36 PM, Karl DeSaulniers k...@designdrumm.comwrote:
On Jul 12, 2011, at 7:28 AM, Taco Mathijs
On Jul 13, 2011, at 3:09 AM, Taco Mathijs Hillenaar-Meerveld wrote:
yes, it was a structure like that i was looking for. so a class is
a group
of functions?
i have heard about 'wrappers' to and from what i've heard it is the
same
thing?
On Tue, Jul 12, 2011 at 11:36 PM, Karl DeSaulniers
using function is good.. I like to use it in my script.. but I do think
about you should use Class because Class make your script more structure..
and you can hide your setting to make everyone unable to see or hack you
system..
example.. I always like to use h1bla/h1 then i built function h1($s)
On Jul 12, 2011, at 7:28 AM, Taco Mathijs Hillenaar-Meerveld wrote:
It might be a simple question for the local die-hards among here,
but i'm
really wondering about how
developers arrange their scripts and keep their map structures.
today i was looking for the best way to keep my scripts
On Jul 12, 2011, at 7:28 AM, Taco Mathijs Hillenaar-Meerveld wrote:
It might be a simple question for the local die-hards among here,
but i'm
really wondering about how
developers arrange their scripts and keep their map structures.
today i was looking for the best way to keep my scripts
http://ca.php.net/manual/en/function.substr-count.php
From: Yemi Obembe [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: [PHP-DB] Functions
Date: Tue, 23 Nov 2004 00:59:11 -0800 (PST)
Hi wizs,
Anybody knows any fuction that can count occurence of a character in a
string (not in a array).
-To: Joseph Crawford [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Subject: Re: [PHP-DB] functions via event handlers
the closest you could come is to make javascript functions call php
pages basically redirects
Yemi,
On Sep 6, 2004, at 7:14 AM, Yemi Obembe wrote:
i'd just luv to ask if it is possibble to call a function in PHP by
using event handlers (like onmouseover, onload) as done in javascript?
if its possible, i'd appreciate someone to tutor me on it.
As far as I know, this is not possible.
the closest you could come is to make javascript functions call php
pages basically redirects that would call the php functions.
--
Joseph Crawford Jr.
Codebowl Solutions
[EMAIL PROTECTED]
802-558-5247
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit:
Hi,
A small example
script language=javascript
function call_me()
{
window.location=script.php;
}
/script
div onmouseover=call_me() click me/div
If you are thinking about some live experience like
javascirpt with PHP you can go for flash and php.
In Flash Event calls php scripts and get
Chis,
I think this might do what you want:
foreach ($_REQUEST as $key = $value) {
switch ($key) {
case email:
// do email stuff
break;
case address:
// do address stuff
elaborating (?spelling) on Micahs loop:
funcs.php:
?
function sanitize($glob = null)
{
if (is_null($glob) || !is_array($$glob)) {
// set name of the global var we care about
// if no valid name was passed to the function
$glob = '_REQUEST';
}
// using a
Easier is using their value, eg
$email = email(replacement(functions($_POST['email']))); // or _GET
$address = address(replacement(functions($_POST['email'])));
...
Micah Stevens [EMAIL PROTECTED] schreef in bericht
news:[EMAIL PROTECTED]
Chis,
I think this might do what you want:
foreach
To answer my own question again, I didn't assign the returned value from the
function call to a variable:
$piv_result=queries();
All OK.
-Original Message-
From: Dillon, John [mailto:[EMAIL PROTECTED]
Sent: 14 August 2003 17:54
To: [EMAIL PROTECTED]
Subject: RE: [PHP-DB] Functions
Dillon, John wrote:
One more bite on this code.
function queries(){
//code..
$piv_result=mysql_db_query($db, $query, $connection) or die (Query9
failed: $query);
return $piv_result;
}
function print(){
global $piv_result;
One more bite on this code.
function queries(){
//code..
$piv_result=mysql_db_query($db, $query, $connection) or die (Query9
failed: $query);
return $piv_result;
}
function print(){
global $piv_result;
$count_fields=mysql_num_fields($piv_result);
Forgive me if I'm overlooking something, but why not just use a class?
Edward Dudlik
Becoming Digital
www.becomingdigital.com
- Original Message -
From: Rolf Brusletto [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, 30 May, 2003 17:10
Subject: [PHP-DB] functions IN the database.
*This message was transferred with a trial version of CommuniGate(tm) Pro*
the sites will reside on different boxes. Thus needing a way to share
the functions. I'm trying to get away from having two sets of code that
do exactly the same thing.
Becoming Digital wrote:
Forgive me if I'm
18 matches
Mail list logo