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 cle
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 bla then i built function h1($s)
actu
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
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 wrote:
>
> On Jul 12, 2011, at 7:28 AM, Taco Mathijs Hillenaar-Meerveld wrot
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 cle
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 clear and to put
them into maps so i have a clear overview.
the same thing i
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
Hi wizs,
Anybody knows any fuction that can count occurence of a character in a string
(not in a array).
-
A passion till tomorrow,
www.opeyemi.tk
-
Do you Yahoo!?
Discover all thatÂ’s new in My Yahoo!
MAIL PROTECTED]>
Reply-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 c
Hi,
A small example
function call_me()
{
window.location="script.php";
}
click me
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 the value
without reloading the flash movie.
Zareef Ahmed
-
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: http://www.php.net/
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. Since
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.
-
A passion till tomorrow,
www.opeyemi.tk
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:
>
>
elaborating (?spelling) on Micahs loop:
funcs.php:
// using a variable variable name: $$glob now refers to $_REQUEST
// assuming no arguments were passed to the function.
// doing this allows sanitizing just $_POST, $_GET or $_COOKIE
// in case
foreach ($$glob as $key => $valu
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
Hi there everyone,
I need to write a function (New to them but starting to get the hang of it) that will
take the field from a form and then do operations on it (To remove bad characters, any
entered mysql commands etc ) now that's not a problem, what I want to do though is
write a generic
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); /
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;
$count_fields=mysql_num_fields($piv_result
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] Func
f 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
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
*This message was transferred with a trial version of CommuniGate(tm) Pro*
Hey all -
I'm curious if anybody has ever setup the logic to put php functions
into a database here is my thinkin on it, hopefully I can get some
suggestions on the benefits, downsides, etc.
(in mysql)
CREATE TABLE `
I think it's time to read the manual.
http://jp.php.net/manual/en/langref.php
http://jp.php.net/manual/en/language.variables.scope.php
http://jp.php.net/manual/en/functions.php
--
Yasuo Ohgaki
""olinux"" <[EMAIL PROTECTED]> wrote in message
000f01c0b838$e332a3c0$6401a8c0@amdk7">news:000f01c0b83
I am wondering how to use a variable that is generated by a function ($query)
If you would please look at: http://phpbuilder.net/columns/laflamme20001016.php3?page=5
for an example of what i am trying to do.
the function will generate the query... but how do i make use of this?
i see that i will
25 matches
Mail list logo