i'm just add Tobias script.
put rtrim and ltrim to have a better result.
- Original Message -
From: Tobias Franzén [EMAIL PROTECTED]
To: php-db@lists.php.net
Sent: Friday, February 01, 2008 10:24 PM
Subject: Re: [PHP-DB] Formatting in Text Area
Hi Patricia,
You can impose width
- Original Message -
From: Austin C [EMAIL PROTECTED]
To: php-db@lists.php.net
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
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: php-db@lists.php.net
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
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
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: php-db@lists.php.net
Sent: Wednesday, June 06, 2007
$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];
[EMAIL
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:
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 PROTECTED]; php-db@lists.php.net
Sent: Tuesday, May 15
try run winmysqladmin.exe
is there a posibility your mysql server got crash with unknown reason
- Original Message -
From: John Comerford [EMAIL PROTECTED]
To: php-db@lists.php.net
Sent: Wednesday, May 16, 2007 11:05 AM
Subject: [PHP-DB] [PHP] Cannot connect to an MySQL database using
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 cannot
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: php-db@lists.php.net
Sent: Saturday, May 12,
i'm currious about how goggle logic to find product..
that's something to thinking of
- Original Message -
From: Daevid Vincent [EMAIL PROTECTED]
To: php-db@lists.php.net
Sent: Friday, May 11, 2007 11:50 AM
Subject: [PHP-DB] RE: How do I find products when a user types freeform
strings
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
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
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:
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 Internet
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/
--
PHP
$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 values,
- Original Message -
From: Josh Diakun [EMAIL PROTECTED]
To: php-db@lists.php.net
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
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: php-db@lists.php.net
Sent: Saturday, April 28, 2007 12:15 AM
Subject: [PHP-DB] error logging MySQL syntax errors?
I am
u use localhost right? try ip instead.
127.0.0.1
- Original Message -
From: Ron Piggott [EMAIL PROTECTED]
To: PHP DB php-db@lists.php.net
Sent: Saturday, April 28, 2007 6:44 AM
Subject: [PHP-DB] mysql_real_escape_string
The following PHP command
$new_maintainers_notes =
cmiiw.. since i don't the visual what u said bellow
- Original Message -
From: Ron Piggott [EMAIL PROTECTED]
To: PHP DB php-db@lists.php.net
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
nope.. nothing dumb on your question.
- Original Message -
From: Matt Anderton [EMAIL PROTECTED]
To: php-db@lists.php.net
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? --
i just ignore it!!
the very strange was.. i receive in bahasa indonesia or Indonesian
Languages
- Original Message -
From: sam rumaizan [EMAIL PROTECTED]
To: php-windows@lists.php.net
Sent: Tuesday, April 10, 2007 11:17 AM
Subject: [PHP-WIN] Did anyone receive the same email
Did
u ask on this db not on win..
i think..
you mean how to call everypage with just one page???
table width=50% border=0 cellspacing=3 cellpadding=0
tr
td?php echo img src='index.php?ph=.$photoFileName[2].'/ ;
?/td
td?php echo img src='index.php?ph=.$photoFileName[3].'/ ;
?/td
/tr
- 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 understand what u
what is site mean in here??
- Original Message -
From: Suprie [EMAIL PROTECTED]
To: php-db@lists.php.net
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
NOT QUITE..ups.. my bad
- Original Message -
From: Chris [EMAIL PROTECTED]
To: Suprie [EMAIL PROTECTED]
Cc: php-db@lists.php.net
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
i think u have mistaken using javascript
- Original Message -
From: Onochie Anyanetu [EMAIL PROTECTED]
To: php-db@lists.php.net
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
howdy
- Original Message -
From: Chris [EMAIL PROTECTED]
To: Ron Croonenberg [EMAIL PROTECTED]
Cc: php-db@lists.php.net
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
- Original Message -
From: Robert Hicks [EMAIL PROTECTED]
To: php-db@lists.php.net
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
sry.. just check the script.. if able.. plz info me
- Original Message -
From: [EMAIL PROTECTED]
To: php-db@lists.php.net
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
hi..
- Original Message -
From: Ron Piggott [EMAIL PROTECTED]
To: PHP DB php-db@lists.php.net
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
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
Web: http://www.haydartuna.net
bedul [EMAIL PROTECTED] wrote
://www.haydartuna.net
bedul [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
- Original Message -
From: gunawan [EMAIL PROTECTED]
To: php-db@lists.php.net
Sent: Monday, March 12, 2007 11:46 AM
Subject: odbc problem
i have this warning.. i don't know what the meaning
are u indonesian?
- Original Message -
From: IMRAN [EMAIL PROTECTED]
To: bedul [EMAIL PROTECTED]
Cc: php.db php-db@lists.php.net
Sent: Monday, March 12, 2007 8:04 PM
Subject: [PHP-DB] Re: odbc problem
Send me your code, I'll fix it for you...
nooo.. that's would not necesarry.. i think
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
u can't
- Original Message -
From: Ron Piggott [EMAIL PROTECTED]
To: PHP DB php-db@lists.php.net
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
- Original Message -
From: gunawan [EMAIL PROTECTED]
To: php-db@lists.php.net
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()
- Original Message -
From: Chris [EMAIL PROTECTED]
To: bedul [EMAIL PROTECTED]
Cc: php-db@lists.php.net
Sent: Monday, March 12, 2007 12:00 PM
Subject: Re: [PHP-DB] Fw: odbc problem
bedul wrote:
- Original Message -
From: gunawan [EMAIL PROTECTED]
To: php-db@lists.php.net
- Original Message -
From: IMRAN [EMAIL PROTECTED]
To: bedul [EMAIL PROTECTED]
Cc: php.db php-db@lists.php.net
Sent: Monday, March 12, 2007 1:03 PM
Subject: Re: odbc problem
Is odbc_num_fields return any value ?
You can disable the warnings in php.ini file.
Please let me know
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
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
- Original Message -
From: Mike van Hoof [EMAIL PROTECTED]
To: php-db@lists.php.net
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,
same here not work for me
- Original Message -
From: Hartleigh Burton [EMAIL PROTECTED]
To: php-windows@lists.php.net
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
- Original Message -
From: gunawan [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: php-windows@lists.php.net; php-db@lists.php.net
Sent: Friday, March 02, 2007 5:10 PM
Subject: cara phpasp bisa jalan bareng|how to make asp php work together
wa kirim ke site english jd harap maklum kl pake
- Original Message -
From: Micah Stevens [EMAIL PROTECTED]
To: Roberto F Tavares Neto [EMAIL PROTECTED]
Cc: php-db@lists.php.net
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
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
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: php-db@lists.php.net
Sent: Friday, March 02, 2007 11:52 AM
Subject: [PHP-DB]
$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
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: php-db@lists.php.net
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
- Original Message -
From: Gustav Wiberg [EMAIL PROTECTED]
To: 'bedul' [EMAIL PROTECTED]; php-windows@lists.php.net
Cc: php-db@lists.php.net
Sent: Monday, February 19, 2007 2:28 PM
Subject: RE: [PHP-WIN] A measre of security
-Original Message-
From: bedul [mailto:[EMAIL
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 hardcoding by your self
- Original Message -
From: Niel Archer [EMAIL PROTECTED]
To: php-db@lists.php.net
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=
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.=br= .$str;
}
the result was:
- Original Message -
From: Drewfus [EMAIL PROTECTED]
To: php-db@lists.php.net
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
sry i don't get what u mean??
- Original Message -
From: Peter Beckman [EMAIL PROTECTED]
To: PHP-DB Mailing List php-db@lists.php.net
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 =
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: php-windows@lists.php.net
Sent: Friday, February 09, 2007 6:28 AM
Subject: [PHP-WIN] (DRW) Ordenar por fecha
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: php-windows@lists.php.net
Sent: Tuesday,
sry i don't understand what writen here
let me repair
- Original Message -
From: Gustav Wiberg [EMAIL PROTECTED]
To: php-windows@lists.php.net
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
?php
$txt.=h1TEST CONNECT/h1;
// 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
try to configure on the html..
i think on header..
meta http-equiv=Content-Type content=text/html; charset=utf-8 /
- Original Message -
From: Niel Archer [EMAIL PROTECTED]
To: php-db@lists.php.net
Sent: Saturday, January 27, 2007 3:12 AM
Subject: [PHP-DB] What effects MySQL
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,
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: php-db@lists.php.net
Sent: Saturday, January 27, 2007 9:44 AM
Subject: Re: [PHP-DB] php using odbc
look this as one
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
68 matches
Mail list logo