i'm just add Tobias script.
put "rtrim" and "ltrim" to have a better result.
- Original Message -
From: "Tobias Franzén" <[EMAIL PROTECTED]>
To:
Sent: Friday, February 01, 2008 10:24 PM
Subject: Re: [PHP-DB] Formatting in Text Area
> Hi Patricia,
>
> You can impose width restrictions
- Original Message -
From: "Austin C" <[EMAIL PROTECTED]>
To:
Sent: Friday, July 13, 2007 8:41 AM
Subject: [PHP-DB] PHP & MySQL Issue!
> Hello everyone, im trying to use PHP to create 2 tables in a database and
> populate them with tables, however, it just wont work. Here is my full co
t in my editing software.
there were another ?? well are this on A or the new one.
i think the problem are on the permision in B.
you should create an user (example)
user: Bedul
Host: %
password: bedul
then when u want to connect this.. try using user Bedul
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
u can use array
put all your data into array.. example below
while($tmp=mysql_fetch_array($res)){
$myData[$tmp[0]]=$tmp[1];
}
ksort($myData);
foreach($myData as $nm=>$val){
//put your script here..
}
- Original Message -
From: "Bryan" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, June
what is your server php ip.. i created an example:
10.30.11.6
and your mysql server 10.30.11.7
what u should do was.. created an user that use server
10.30.11.6 and then reload it.
try connect using the user u create but remember the host
was 10.30.11.7
hope u understand.
- Original Message
unlink
(PHP 3, PHP 4, PHP 5)
unlink -- Deletes a file
Description
bool unlink ( string filename [, resource context] )
Deletes filename. Similar to the Unix C unlink() function.
Returns TRUE on success or FALSE on failure.
: As of PHP 5.0.0 unlink() can also be used with some
URL wrappers
nope!!
unless u build 2 class.. that's for save actualy..
$db1 = new mysqli($sqlServer, $sqlUser, $sqlPass, $sqlDB);
$db2 = new mysqli($sqlServer, $sqlUser, $sqlPass, $sqlDB);
- Original Message -
From: "Ken Keefe" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, June 06, 2007 1:14 AM
Subject: [
$query = "CREATE TABLE $table_name (
rowID INT(11) NOT NULL AUTO_INCREMENT,
category VARCHAR(25) NOT NULL,
trans_type VARCHAR(8) NOT NULL,
PRIMARY KEY (rowID))";
try above.. thx to dale
- Original Message -
From: "Dale Attree" <[EMAIL PROTECTED]>
To: "'Mark Abrams'" <[EMAIL PROTECTED]>;
u mean like this??
$id=mysql_result($result,$i,"ID");
while($temp = mysql_fetch_array($result)){
foreach($temp as $varNm =>$varVal){
$$varNm =$varVal;
}
/*
put your table code here
*/
}
?>
SOry just gues!
- Original Message -
From: "sam rumaizan" <[EMAIL PROTECTED]>
To
try run winmysqladmin.exe
is there a posibility your mysql server got crash with unknown reason
- Original Message -
From: "John Comerford" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, May 16, 2007 11:05 AM
Subject: [PHP-DB] [PHP] Cannot connect to an MySQL database using Named
Pipes
> Hi Fo
it seem the poster already have the answer..
what he/she going to do was how to save username and pass on session.
thx for your help
- Original Message -
From: "Chris" <[EMAIL PROTECTED]>
To: "bedul" <[EMAIL PROTECTED]>
Cc: "Chetanji" <[EMAIL
the problem is right here (said on error msg):
session_register("myusername"); session_register("mypassword");
u should use session_register("myusername") after declare the name.
i taken from my php chm
It is currently impossible to register resource variables in a session. For
example, you cann
username BLOB NOT NULL default '',
password BLOB NOT NULL default '',
do you try
username varchar 50,
password varchar 50??
i'm just ask..
sry, hope that's can solve your problem
- Original Message -
From: "Chetan Graham" <[EMAIL PROTECTED]>
To:
Sent: Saturday, May 12, 2007 4:28 PM
Subj
u using echo on your script.. that's not wise
i suggest u save all your type on a var like $txt
and in the end of line u print it
that will save your work..
your problem was how to make CREATE?
it hard since i kinda bussy.. but hope i can help u..
- Original Message -
From: "rieh25" <[
i'm currious about how goggle logic to find product..
that's something to thinking of
- Original Message -
From: "Daevid Vincent" <[EMAIL PROTECTED]>
To:
Sent: Friday, May 11, 2007 11:50 AM
Subject: [PHP-DB] RE: How do I find products when a user types freeform
strings like 'Sony 20" TV' o
how about IP from the PHP server not the SQL server. hmm it happen to me
using mysql, i just wanna share hope help you
my mysql server 10.30.11.6 and my comp ip was 10.30.11.136
in mysql server i create account/user which the server not localhost but
10.30.11.136 and it worked..
i send to phpDB..
i prefer u use the prefix.. but it very advance..
can u spesific more.. client able to type what tag (u must consider lock
other than what u type earlier)
anyway.. using a table is a good idea.. actualy if your client type using
table.. what should u do??
- Original Message -
From: "itocto
sory.. that's pure my fault.. i should type for php-win
my mail setting are always to send to php-db
that's wont happen again
> Why do you keep cc'ing the php-db list with responses that have nothing
> to do with the list?
>
> --
> Postgresql & php tutorials
> http://www.designmagick.com/
-
nope.. that's can be dangerous
since some activeX today are a food for a worm..
be safe on NET
- Original Message -
From: "Gustav Wiberg" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 04, 2007 4:06 PM
Subject: [PHP-WIN] automatic-click flash?
Hi there!
I searched the Int
$hintergrund = $row_hintergrundsbild->Bildname;
$backgroundimage = $hintergrund;
this is the problem whole about. u call img name but not img file..
fyi.. to build a img u must begin with this..
$im = imagecreatefrompng("test.png");
what u want to do??
plz explain
- Original Message -
actualy i'm not soo smart..
> Max Thayer wrote:
> > I'm using MySQL 5.x InnoDB engine, transactional tables. I have a
> > conceptual design question. If I have a two columns 'a' and 'b', a is
> > the primary key, and b is a type double, in table 1 (T1) for which
> > column b will have many NULL v
- Original Message -
From: "Josh Diakun" <[EMAIL PROTECTED]>
To:
Sent: Monday, April 30, 2007 5:42 PM
Subject: [PHP-DB] php mysqli error
> Hello,
>
> I have had an issue for the past week or so that I cannot find a decent
> explanation for. I am receiving the following warning when usi
u use localhost right? try ip instead.
127.0.0.1
- Original Message -
From: "Ron Piggott" <[EMAIL PROTECTED]>
To: "PHP DB"
Sent: Saturday, April 28, 2007 6:44 AM
Subject: [PHP-DB] mysql_real_escape_string
>
> The following PHP command
>
> $new_maintainers_notes =
> mysql_real_escape_stri
plz remind to send to us your aplication.. the problem may cause from your
sintax don't match the version
- Original Message -
From: "Tim McGeary" <[EMAIL PROTECTED]>
To:
Sent: Saturday, April 28, 2007 12:15 AM
Subject: [PHP-DB] error logging MySQL syntax errors?
> I am getting semi-ambi
cmiiw.. since i don't the visual what u said bellow
- Original Message -
From: "Ron Piggott" <[EMAIL PROTECTED]>
To: "PHP DB"
Sent: Tuesday, April 24, 2007 11:31 AM
Subject: [PHP-DB] SELECT string
>
> I am looking for help to write a SELECT syntax to help me process a
> directory searchi
nope.. nothing dumb on your question.
- Original Message -
From: "Matt Anderton" <[EMAIL PROTECTED]>
To:
Sent: Thursday, April 19, 2007 8:49 AM
Subject: [PHP-DB] php portfolio
> I have a kind-of off topic rookie question:
>
> most programmers have a web portfolio right? -- a URI to put
i just ignore it!!
the very strange was.. i receive in "bahasa indonesia" or Indonesian
Languages
- Original Message -
From: "sam rumaizan" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, April 10, 2007 11:17 AM
Subject: [PHP-WIN] Did anyone receive the same email
> Did anyone receive the same
u ask on this db not on win..
i think..
you mean how to call everypage with just one page???
>
>
> ";
?>
> ";
?>
>
>
>
> ";
?>
>
>
- Original Message -
From: "elk dolk" <[EMAIL PROTECTED]>
To:
Sent: Friday, March 30, 2007 3:42 PM
Subject: [PHP-DB] tables
- Original Message -
From: Karl James
To: 'bedul'
Sent: Thursday, March 29, 2007 10:40 AM
Subject: RE: [PHP-DB] Help creating tables and fields
bedul,
wow great information and so quick.
very greatfull for that.
Would you mine baby stepping for me?
[bedul]
i don't un
NOT QUITE..ups.. my bad
- Original Message -
From: "Chris" <[EMAIL PROTECTED]>
To: "Suprie" <[EMAIL PROTECTED]>
Cc:
Sent: Thursday, March 29, 2007 6:53 AM
Subject: Re: [PHP-DB] help in database design
> Suprie wrote:
> > hi all,
> >
> > i need help in design a database, our office is h
what is site mean in here??
- Original Message -
From: "Suprie" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, March 28, 2007 5:03 PM
Subject: [PHP-DB] help in database design
> hi all,
>
> i need help in design a database, our office is hospital equipment
supplier,
> we had a list of items,
i think u have mistaken using javascript
- Original Message -
From: "Onochie Anyanetu" <[EMAIL PROTECTED]>
To:
Sent: Friday, March 23, 2007 8:38 AM
Subject: [PHP-DB] Embedded php in javascript
> Hi, I am trying to create a pop up alert warning for deleting an entry in
my
> database. What
- Original Message -
From: "Robert Hicks" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, March 21, 2007 11:28 PM
Subject: [PHP-DB] Accessing Oracle
> I have been away from PHP for a while and was wondering what is the
> preferred method of accessing Oracle?
cmiiw
there was a way to access ora
howdy
- Original Message -
From: "Chris" <[EMAIL PROTECTED]>
To: "Ron Croonenberg" <[EMAIL PROTECTED]>
Cc:
Sent: Thursday, March 22, 2007 7:06 AM
Subject: Re: [PHP-DB] MySQL queries
> Ron Croonenberg wrote:
> > Hello all,
> >
> > Is there a discussion list for MySQL queries (I have a roo
hi..
- Original Message -
From: "Ron Piggott" <[EMAIL PROTECTED]>
To: "PHP DB"
Sent: Monday, March 19, 2007 4:26 AM
Subject: [PHP-DB] IF ( $_POST['submit'] == "Update Subscriptions"
OR$_POST['submit'] == "Update Entire Account" ) {
>
> I am wanting to ask a question about IF statements.
sry.. just check the script.. if able.. plz info me
- Original Message -
From: <[EMAIL PROTECTED]>
To:
Cc: <[EMAIL PROTECTED]>
Sent: Sunday, March 18, 2007 8:38 AM
Subject: Re: [PHP-DB] Values in a date field
> Assuming you're using MySQL, try MONTH(). As in:
>
> SELECT MONTH(SomeDateFi
- Original Message -
From: "septic" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, March 14, 2007 4:29 AM
Subject: [PHP-DB] do not display dublicated entries
> Hello all,
>
> I have created a simple webtracer for my website and I save some info on
> mysql database.
>
> table = tracker
>
> FIE
i wonder how i can get value from mktime.
my friend want to build mktime using asp but he wonder how to have the value..
what he have are the function same as date() on asp.
if someone have time to build the same function but only use date.. plz post
here
thx in advance
to php-db.. this might related to database.
forgive me if this contain spam.
- Original Message -
From: "James Crow" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, March 13, 2007 1:25 AM
Subject: [PHP-WIN] PHP4 and DST Changes
> I have tried searching, but so far have not found an answer.
>
> Wi
are u indonesian?
- Original Message -
From: "IMRAN" <[EMAIL PROTECTED]>
To: "bedul" <[EMAIL PROTECTED]>
Cc: "php.db"
Sent: Monday, March 12, 2007 8:04 PM
Subject: [PHP-DB] Re: odbc problem
> Send me your code, I'll fix it for you...
noo
of National Education
> Education Technology Department Ankara / TURKEY
> Web: http://www.haydartuna.net
>
>
> ""bedul"" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> >
> > - Original Message -
> > From: "gunawan"
e is a bug odbc_num_fields function in Windows 2003 operating
> systems becuase in Windows 2003 , when I run PHP with IIS I faced many
> problems. :)
>
>
> --
> Haydar TUNA
> Republic Of Turkey - Ministry of National Education
> Education Technology Department Ankara / TURKEY
- Original Message -
From: "IMRAN" <[EMAIL PROTECTED]>
To: ""bedul"" <[EMAIL PROTECTED]>
Cc: "php.db"
Sent: Monday, March 12, 2007 1:03 PM
Subject: Re: odbc problem
> Is odbc_num_fields return any value ?
> You can disable th
- Original Message -
From: "Chris" <[EMAIL PROTECTED]>
To: "bedul" <[EMAIL PROTECTED]>
Cc:
Sent: Monday, March 12, 2007 12:00 PM
Subject: Re: [PHP-DB] Fw: odbc problem
> bedul wrote:
> > - Original Message -
> > From: "gu
- Original Message -
From: "gunawan" <[EMAIL PROTECTED]>
To:
Sent: Monday, March 12, 2007 11:46 AM
Subject: odbc problem
> i have this warning.. i don't know what the meaning
>
> Using odbc_num_fields
>
> Warning: odbc_exec() [function.odbc-exec]
u can't
- Original Message -
From: "Ron Piggott" <[EMAIL PROTECTED]>
To: "PHP DB"
Sent: Monday, March 12, 2007 7:52 AM
Subject: [PHP-DB] auto_increment command
> I am not sure if that last e-mail went through or not. I am wondering
> how to re-set the auto_increment field back to 1 in o
i will just add a few what happen to me. since i build the same programing
1. sometimes the images where we wanted to upload doesn't upload right.
2. images called from db sometimes don't have match header.. like gif images
but read as png??
- Original Message -
From: "Steven Cruz" <[EMAIL
i do know there's no problem upload 4kb img to database
but is different case for.. 1mb pic.. it always fail.
> >>
> >> CREATE TABLE image (
> >> image_id int(10) unsigned NOT NULL auto_increment,
> >> image_type varchar(50) NOT NULL default '',
my application said is header
--
- Original Message -
From: "Mike van Hoof" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, March 06, 2007 3:02 PM
Subject: [PHP-DB] PHP_AUTH_USER & .htaccess
> Hello,
>
> I've got a really strange problem, and hope this is the right list to
> post to.
>
> I got a website with a login, which uses
- Original Message -
From: "Gustav Wiberg" <[EMAIL PROTECTED]>
To: "'Hartleigh Burton'" <[EMAIL PROTECTED]>;
Sent: Monday, March 05, 2007 2:22 PM
Subject: RE: [PHP-WIN] Fatal Error: Allocated memory size problem...
Hi there!
What fieldtyp
same here not work for me
- Original Message -
From: "Hartleigh Burton" <[EMAIL PROTECTED]>
To:
Sent: Monday, March 05, 2007 9:13 AM
Subject: [PHP-WIN] Fatal Error: Allocated memory size problem...
> Hi All,
>
> I am having some problems while uploading a file to a MySQL database
> relat
now you mention it.
i hope the same problem will solve.
i use in windows (own pc)..not in real-life server.. thx for your repair on my
missuderstanding
- Original Message -
From: Micah Stevens
To: bedul
Cc: php-db@lists.php.net
Sent: Saturday, March 03, 2007 1:48 PM
- Original Message -
From: "Micah Stevens" <[EMAIL PROTECTED]>
To: "Roberto F Tavares Neto" <[EMAIL PROTECTED]>
Cc:
Sent: Saturday, March 03, 2007 3:17 AM
Subject: Re: [PHP-DB] Mysql autentication problem
> Strange. If you look at the users table, is there a password hash in the
> passw
- Original Message -
From: "gunawan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: ;
Sent: Friday, March 02, 2007 5:10 PM
Subject: cara php&asp bisa jalan bareng|how to make asp & php work together
> wa kirim ke site english jd harap maklum kl pake bahasa inggris
>
> i have problem to
- Original Message -
From: "Bastien Koert" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; ;
Sent: Thursday, March 01, 2007 9:05 PM
Subject: RE: [PHP-DB] auto upload
> What about just writing a batch script that opens the ftp services and
sends
> the file?
>
> Bastien
hmm.. that was a good
>>$row = mysql_fetch_array($result, $connection);
this is the problem
you should type
$row = mysql_fetch_array($result, MYSQL_NUM);
there not such things as $connection on the mysql_fetch_array
in mysql_query.. u use that connection.. but not in fetch array
array mysql_fetch_array ( resource res
hmm.. i think there something going on on this func
mysql_select_db($database)
read more below
==
- Original Message -
From: "Ron Croonenberg" <[EMAIL PROTECTED]>
To:
Sent: Friday, March 02, 2007 11:52 AM
Subject: [PHP-DB] recursion in php
this might a strange code i request, plz forgive my rudeness.
everyday i was update a doc where i always put on d:\report\today.xls where
i use a simple upload document prog (inside only box for upload only? and
submit). the file i upload will save on file folder (inside the upload
folder)
today
nope.. u don't give me wrong code
- Original Message -
From: "Niel Archer" <[EMAIL PROTECTED]>
To:
Sent: Saturday, February 17, 2007 2:43 AM
Subject: Re: [PHP-DB] csv problem.. read csv from var
> Hi
>
> sorry, I misunderstood your problem, it was not too clear to me as the
> code you
- Original Message -
From: "Gustav Wiberg" <[EMAIL PROTECTED]>
To: "'bedul'" <[EMAIL PROTECTED]>;
Cc:
Sent: Monday, February 19, 2007 2:28 PM
Subject: RE: [PHP-WIN] A measre of security
-Original Message-
From: bedul [mailto:[EM
e to login
with there own information.
Each company I give unique identity with "hard-coding" and each company has
its own folder...
Harding-coding, something like:
$company -> setIDCompany(1);
$company -> setIDCompany(2);
$company -> setIDCompany(3);
[bedul]
you should not try
- Original Message -
From: "Niel Archer" <[EMAIL PROTECTED]>
To:
Sent: Friday, February 16, 2007 1:59 PM
Subject: Re: [PHP-DB] csv problem.. read csv from var
> hi
>
> > the problem i have is.. how about the csv is a var
> > DATA===
> > $csv="
> > A50
i have problem with reading csv.. for i know the example script i get was
BASIC SCRIPT=
$handle = fopen("hasillab.csv", "r");
$data2=$handle;
while($data = fgetcsv($handle, 1000, ",")){
foreach($data as $str)
$data2.="= ".$str;
}
the result was:
===
- Original Message -
From: "Drewfus" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, February 13, 2007 5:08 PM
Subject: [PHP-DB] unixODBC + PHP 4.4.4
> Hi,
>
> I've installed unixODBC with the EasySoft ODBC Driver and have
connectivity
> working to my MS-SQL Server fine. I can login with the iSQ
english plz
you know.. i'm not native with english.. but using english is very helpfull
to me for solve your problem
- Original Message -
From: "Anuack Luna" <[EMAIL PROTECTED]>
To:
Sent: Friday, February 09, 2007 6:28 AM
Subject: [PHP-WIN] (DRW) Ordenar por fecha
> Hola Foreros
>
> Te
sry i don't get what u mean??
- Original Message -
From: "Peter Beckman" <[EMAIL PROTECTED]>
To: "PHP-DB Mailing List"
Sent: Tuesday, February 13, 2007 8:29 AM
Subject: [PHP-DB] Strange action with =&
> I'm looping through an array and I did this:
>
> $rate =& $mydata[$prefix];
>
>
sry i don't understand what writen here
let me repair
- Original Message -
From: "Gustav Wiberg" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, February 06, 2007 9:39 PM
Subject: RE: [PHP-WIN] SSL on Windows Server 2003
Hi there guys!
Do you know any way of getting NEXT row based on a specific
that hard
if this mysql i created an user like this
//this where i access my db
server = hospital.mis01
//this self explain
user= root
pass= toor
probably u can do in sql server??
- Original Message -
From: "Harpreet" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, February 06, 2007 10:13 PM
TEST CONNECT";
// to have this working:
// 1- u have first to creat ur access database using MS
// Access (i asume u know how to do this). My database
// that i used in my example is called "Questionaire.mdb".
// the table in it is called "Results"
//
// 2- then u have to add this dat
i'm creating a big database using mysql.
after input into database i want to know what id (row id) where my data
input whereabout.
consider i don't have many user where access and input in same time.. but i
just want to make preparation for the case.
how can i able to know what id i have?? any sug
thx for your info and example
i hope i can use the link i gave in previous message
i want to connect to there
- Original Message -
From: "Vic" <[EMAIL PROTECTED]>
To:
Sent: Saturday, January 27, 2007 9:44 AM
Subject: Re: [PHP-DB] php using odbc
>
> look this as one example of MSAcces
can u help me?
1.i wanna build a connection using odbc but i don't have any example.
what url can i visit?
2. odbc i want to connect was on this url.. plz view to help me.
http://indoupload.net/files/view/803/odbc%20problem.jpg
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe,
try to configure on the html..
i think on header..
- Original Message -
From: "Niel Archer" <[EMAIL PROTECTED]>
To:
Sent: Saturday, January 27, 2007 3:12 AM
Subject: [PHP-DB] What effects MySQL connection's character set
> Hi all
>
> How is the character set of returned data effect
73 matches
Mail list logo