is there a limit to the number of fields one can put in an array??
heres the code im using to create the array
$arrResIDs = explode(,,$RESID,300);
now $RESID has at least 100 different values in it but when i print out the
array i only get 80
can anyone shed some light on this subject???
--
i was wondering if anyone has or knows were i can find
an archive style message system much like the php support archive.
im looking for something to create a forum were people can chat and interact
without the need of real time
preferably the archive should be searchable
if anyone could help
I'm pretty sure you can make php use the asp style % though too, not sure if
that's for short tags, regular tags or both, I know it's in the config
though, anyone know?
Shaun
On Saturday 07 April 2001 18:46, Michael Kimsal wrote:
On Sat, 7 Apr 2001, Dean Hall wrote:
"Michael K
one thing that would help is to str_replace("\n", "br");
I think textarea has a wrap attribute doesn't it?
On Wednesday 04 April 2001 13:20, Chris Anderson wrote:
I've been having large problems with this so I decided to ask you guys(and
gals ^_^). I have a textarea where you can type your
I think you might wanna check if $cookie is set, not $cookie[0], if that
doesn't work just check if $cookie[0] = 0
-Shaun
On Saturday 07 April 2001 21:10, matt thompson wrote:
hey,
i'm designing a small shopping cart w/ cookies where the cookie is used as
an array (the array id being
I just did this yesterday actually and everything worked fine, except I used
a different postgresql, postgresql-7.0.3.tar.gz to be exact.
-- Shaun
On Sunday 08 April 2001 10:42, Kevin Heflin wrote:
I have php-4.0.4pl1 currently installed with mysql support. Installed
from source files
] = $subvalue;
//echo value: .$key.br;
}
}
else {
$_SESSION['ses-app-form']-$key = $value;
//echo value: .$key. = .$value.br;
}
}
}
Any Ideas?
Cheers,
Shaun
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I have PHP installed as a CGI module on my server. I want to stop PHPSESSID
from appearing in the URL when a users cookies are turned for just one
account. My hosting company says that this is impossible - they would have
to change php.ini and that would affect every account on the server.
Hi,
Is it possible to create a csv file from a query and force the user to
download it by outputting it to the browser, I dont want it saved on the
server!
Thanks for your advice
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
$_SERVER['HTTP_HOST']
Mbneto [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
I need to access a website (written in php) using two different
domains (www.foo.com and www.bar.com). I must see the same content.
Since the site uses session and cookie variables I was wondering if
Hi,
The following code is attempting to display a list of work types for all the
users in my database. However it only loops through the inner loop once and
I can't work out why, can anyone help here please?
Thanks for your help
table
?php
include('application.php');
$staff_qid =
Hi,
Is it possible to get the number of saturdays and sundays for a given month
/ year?
Thanks for your help.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I have a resultset from a query and need to remove some rows after doing
some php processing then insert into another table i.e.
/** Get data**/
$qid = mysql_query('SELECT ...);
/** Clean data **/
while( $r = mysql_fetch_object( $qid ) ) {
}
How can i generate a new resultset /
Hi,
Is it possible to encrypt files that are being uploaded via the
move_uploaded_file() method?
Thanks for your advice
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I have a site that uses frames. The frameset loads another site (both on the
same server) in the lower frame window. Every time the page changes in the
lower frame the session id changes, how can I stop this happening?
Thanks for your help
--
PHP General Mailing List
Richard Lynch [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On Wed, April 5, 2006 1:33 pm, Joe Wollard wrote:
If you can't avoid them, keep it simple - just store the ID in one
place,
like a session cookie. Doing so will make sure that if the session ID
gets
changed in one
Hi,
I am having problems with an include statement, i am using the following
statement in an effort to include a footer file on my page:
include(/cms/templates/footer.php);
However I get the following error:
Warning: main(/cms/templates/footer.php): failed to open stream: No such
file or
Hi,
I am having problems with an include statement, i am using the following
statement in an effort to include a footer file on my page:
include(/cms/templates/footer.php);
However I get the following error:
Warning: main(/cms/templates/footer.php): failed to open stream: No such
file or
Mark Charette [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Shaun wrote:
Warning: main(/cms/templates/footer.php): failed to open stream: No such
file or directory in /home/m/y/mysite/public_html/cms/news/index.php on
line
38
Most assuredly the file isn't there (do you have
-
From: Shaun [mailto:[EMAIL PROTECTED]
Sent: 15 April 2006 20:05
To: php-general@lists.php.net
Subject: [PHP] Include Problem
Hi,
I am having problems with an include statement, i am using the following
statement in an effort to include a footer file on my page:
include(/cms/templates
Hi,
We have a dedicated UNIX server running FreeBSD, is it possible to set a
directory where we can place a set of common files that can be used by all
of our web sites?
Thanks for your advice
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Hi,
I have created a CMS where all sites on our server are administrated from
one central site, and HTML content is stored in the CMS database.
I want users to all control their sites database functions from the CMS
site, but I want to keep the database and database admin scripts in the
is best for your site.
Have a look at some relevant code examples:
http://www.weberdev.com/AdvancedSearch.php?searchtype=titlesearch=auth
berber
-Original Message-
From: Shaun [mailto:[EMAIL PROTECTED]
Sent: Monday, April 17, 2006 12:46 PM
To: php-general@lists.php.net
Subject: [PHP
take you tomorrow.
PHP code examples : http://www.weberdev.com
PHP MySQL Forums : http://www.weberforums.com
-Original Message-
From: Shaun [mailto:[EMAIL PROTECTED]
Sent: Monday, April 17, 2006 2:52 PM
To: php-general@lists.php.net
Subject: Re: [PHP] Including files from another
place to have to worry about changing files.
HTH,
Wolf
Shaun wrote:
I see your point, the only problem is that the user will have already
logged
once into the CMS, logging in again would be a little frustrating and not
very user friendly...
Weber Sites LTD [EMAIL PROTECTED] wrote
to
host primary images so that nobody could phish your site. Paypal and
chase are really lamely set up which is making phishing easier for
people who use them.
My $.02
Wolf
Shaun wrote:
Hi,
Thanks for your reply, just had a thought: How secure would it be if I
made
sure that the URL
Richard Lynch [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On Mon, April 17, 2006 5:45 am, Shaun wrote:
I have created a CMS where all sites on our server are administrated
from
one central site, and HTML content is stored in the CMS database.
I want users to all control
Hi,
I am trying to implement a regular expression so that I have a number
between 0.00 and 1.00. the following works except I can go up to 1.99
$regexp = /^[0-1]{1}.[0-9]{2}/;
Can anyone help here please?
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Hi,
The following article describes cross tabulation within MySQL and ends with
a Perl application that automates the process, does anyone know of a PHP
version?
http://dev.mysql.com/tech-resources/articles/wizard/index.html
Thanks for your advice.
--
PHP General Mailing List
Hi,
Up to this point in time I used to construct my insert statements like this
$qid = mysql_query('INSERT INTO MYTABLE (
column1,
column2,
) VALUES (
'.$value1.',
12:15:41 -0400, Shaun [EMAIL PROTECTED]
wrote:
Hi,
Up to this point in time I used to construct my insert statements like
this
$qid = mysql_query('INSERT INTO MYTABLE (
column1,
column2
Hi all,
Thanks for your replies, rather than check each vaule by name I am trying to
produce a more dynamic solution:
foreach ($_POST as $key = $value) {
if ($value == '') {
$_POST[$key] == 'NULL';
}
}
I was expecting $_POST[$key] to be the same as $key, however this isnt the
case:
Hi,
I am trying to create a regular expression for a width of a room, the value
can be a whole integer (up to 999) with up to 2 decimal places -when it is
stored in the database mysql will pad the value accordingly.
/^[0-9]{1,3}.?[0-9]{0,2}?$/
The only problem I have found with above is that
Hi,
I have some checkboxes on my page which correspond with boolean fields in my
database - actually they are TINYINT's in which I store a 0 or 1 in for
false and true values respectively.
Is it possible to loop through all $_POST values to see if it is a checkbox?
If so then for that element
Hi,
I am trying to create a function that will convert metres to feet and vice
versa. After searching Google I have found that 1 meters = 3.2808399 feet.
However if someone enters 10.5 to mean 10 feet and 5 inches this is not the
same as 10 feet and half a foot as there are 12 inches in a
the name of all the input fields are the same. I need
to make sure that the file uploaded is correct by comparing the file name to
the value requried by the form field name. Is there a way around this?
Thanks for your help.
Shaun
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
Hi,
I am trying to create my own CMS. To being with I want to let users edit
anything within a p tag.
I want to have a menu to the left and display the webpage in the rest of the
page, and for each set of p tags I want the user to be able to click on
the link to edit that paragraph.
My
Hi,
Given a start day and month and end day and month (i.e. 01-01 to 31-03) how
can one check if another set intersects these dates?
Thanks for your advice
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I have a frameset with a left column and a main column. I have a login
script with a form in the left column. When I log in I get a menu in the
left column which targets to the main column. My problem is that when I
click on links in the left column nothing appears in the main frame,
Hi,
How can I get the form values submitted from an iframe where the target is
the parent window?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
/xhtml;
head
meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 /
titleUntitled Document/title
/head
body
?= print_r($_POST); ?
/body
/html
Any ideas?
Terence [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Shaun wrote:
Hi,
How can I get the form values submitted from
Jay Blanchard [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
[snip]
I have made an example of this now. If you click on this link:
http://www.assertia.com/iframe.html
and then click on 'Click Here'. I am trying to display the form results in
the parent window, but I am having no
Curt Zirzow [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On Sun, Dec 04, 2005 at 07:00:00PM -, Shaun wrote:
comex [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
form'.$count.'...
You can use preg_replace_callback or the e pattern modifier to let you
run php
Gustavo Narea [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hello, Ashley.
Ashley M. Kirchner wrote:
Does anyone know of a good GD tutorial for creating graphs?
I like this one: http://www.nyphp.org/content/presentations/GDintro/
Regards.
--
Gustavo Narea.
PHP
Hi,
Is it possible to return the result of eval function to a string rather than
outputting directly to the browser?
Thanks for your advice
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I have a server with all my clients websites on. However I have some clients
who have their own servers. I want to be able to have a form on my site that
allows users to log into their webmail, however if the client has their own
server I need to forward the $_POST values to a login script
Hi,
I have a form on my site with many file fields for users to upload files. I
am trying to verify that for each file uploaded it corresponds with the name
of the file field i.e.
tr
tdFile_1.CSV:/td
tdinput type=file name=File_1.CSV/td
/tr
tr
tdFile_2.CSV:/td
tdinput type=file
Hi,
I have a script on my site for processing values sent from a contact form
and emailing them to the webmaster. The script has been abused by spammers
and my hosting company has recommended that I change the script to only
accept information posted from my own URL. Could someone tell me how
Hi,
I have a query where I select all table names where the table name has PID_1
in i.e.
SHOW TABLES LIKE '%PID_1%';
However there may be cases where I need to search for tables where the table
name is PID_1 or PID_2. In MySQL this can't be done in one query, so how can
I do two queries and
Hi guys,
Thanks for your replies but neither UNION or REGEXP can be used with SHOW
TABLES...
Any ideas?
Jochem Maas [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Marek Kilimajer wrote:
Shaun wrote:
Hi,
I have a query where I select all table names where the table name has
Hi,
Is it possible to create an ascii representation of a string with php, i had
a look on the site but with no luck :(
Thanks for your advice
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jay Blanchard [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
[snip]
Is it possible to create an ascii representation of a string with php, i
had
a look on the site but with no luck :(
[/snip]
You mean like this?
__
^(picture of a
Hi,
I have am trying to create functions to convert strings to ascii and vice
versa:
function string_to_ascii( $str ) {
for( $i=0; $i strlen( $str ); $i++ ) {
$asc .= ord( substr( $str, $i ) );
}
return $asc;
}
This function works fine, however I need to ensure that the ASCII
Hi,
I have a database that contains encrypted data using Mysql function
ENCODE(). Certain users will be allowed to view this data and I will allow
them to download a CSV file contain the decrypted data using the Mysql
DECODE() function. However I don't want this file to be left on the server,
Hi Matt,
Thanks for the reply, I know how to delete a file I just wanted to know if
its possible to ensure that its deleted automatically as soon as the user
has downloaded it.
Thanks...
Matt M. [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I have a database that contains
Hi Marek,
Thanks for your reply, could you tell me how I would go about this please?
Marek Kilimajer [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Shaun wrote:
Hi,
I have a database that contains encrypted data using Mysql function
ENCODE(). Certain users will be allowed
Hi,
I have a problem with a query, I get the following error message:
You have an error in your SQL syntax. Check the manual that corresponds to
your MySQL server version for the right syntax to use near '' at line 23
If I echo the query to the screen and run the query to the database via SSH
Hi,
I am trying to create an XML file, it will be done in stages so if the file
isn't present I will add the line:
?xml version=1.0 ?
root_element
Then for each line I add I add the following
child_elementdatachild_element
But for various reasons the application won't know when
Hi,
I have a web based system that allows users to upload XML files and insert
them into the database, however some of these files are large and are
causing the webserver to timeout.
Is it possible to create a cron job that can insert the xml files say every
hour, then the users of the site
Hi,
I have a web based system that allows users to upload XML files and insert
them into the database, however some of these files are large and are
causing the webserver to timeout.
Is it possible to create a cron job that can insert the xml files say every
hour, then the users of the site
Hi,
Please could someone tell me how i can extract the information from a string
that is after 'ID_' and before '_FN'
Thanks for your help.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I have a script that inserts data from files uploaded to our server. I need
to make sure that only one instance of this script runs at anyone time, can
anyone tell me how I can do this?
Many thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Hi,
Does anyone know if its possible to create an MDB file from a Mysql database
using a PHP script, I have only managed to find Access to Mysql conversion
programs so far...
Thanks for your help
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
.
Regards
Johannes
On Monday 28 March 2005 22:08, Shaun wrote:
Hi,
Does anyone know if its possible to create an MDB file from a Mysql
database using a PHP script, I have only managed to find Access to
Mysql
conversion programs so far...
Thanks for your help
--
# Johannes
Hi,
I have a site that allows users to download xml files. I have the following
php script which prints the results of the query to the browser. As the
header is chaged to XML it forces the browser to ask the user if they want
to download the file rather than outputting the results straight to
Hi Chris,
I have turned off friendly messages, but I get the same message...
Chris W. Parker [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Shaun mailto:[EMAIL PROTECTED]
on Friday, April 01, 2005 11:20 AM said:
This was working fine until i added an SSL certificate to my site
Hi,
If I have a function name held in a $_GET variable for example
...func=print_user_list how can I call the function dynamically? ie.
$_GET['func']()
Thanks for your help
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I have a file called application.php and in this file I define all of the
directories in my site:
class object {};
$CFG = new object;
$CFG-wwwroot = http://www.mydomain.com;
$CFG-dirroot = /usr/home/myaccount/public_html;
$CFG-admindir = $CFG-wwwroot/admin;
$CFG-claimsdir_adm
Hi,
I have a file called application.php and this file I define all of the
directories in my site:
class object {};
$CFG = new object;
$CFG-wwwroot = http://www.mydomain.com;
$CFG-dirroot = /usr/home/myaccount/public_html;
$CFG-admindir = $CFG-wwwroot/admin;
$CFG-claimsdir_adm
Sorry for double posting, these took an hour to appear in my newsreader and
I thought there was a problem with the first one I sent
Shaun [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
I have a file called application.php and in this file I define all of the
directories
Hi,
I am moving my site from one server to another, how can i copy all the data
in my datbase to my new server? Also is it possibel to do this one table at
a time?
Thanks for your help
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I am trying to backup my database can someone please tell me why the
following commande wont work?
mysqldump -h localhost -u username -p databasename backup.sql
thanks for your help
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
and see if you get any error's
that might explain it.
On Mon, 2002-12-09 at 10:07, Shaun wrote:
Hi,
I am trying to backup my database can someone please tell me why the
following commande wont work?
mysqldump -h localhost -u username -p databasename backup.sql
thanks for your help
--
PHP
Hi,
i am using a form to upload an image to the server, is it possible to get
the image size during this process so i can store it for later use (i.e.
determining the size of the popup window to view the image)?
thanks for your help
--
PHP General Mailing List (http://www.php.net/)
To
Hi,
please could someone tell me what the sql command is to add a colummn to a
table?
Thanks for your help
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Say i have a set of non sequential numbers for example: 1 3 8 12 13 16 19
21.
How can i get php to take a random number from this set?
Thanks for your help
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
what is the best way to check if a textfield is empty, and is it the same
for file fields?
thanks for your help
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Is it possible to ensure that a user is uploading a jpeg file from a form
and nothing else?
Thanks for your help
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
My webserver doesn't have the GD library installed, please can someone tell
me how I can resize uploaded images for thumbnails?
Thanks for your help
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
The following code snippet is supposed to return the current page i am on
and append some variables.
$s = getenv('SCRIPT_NAME');
$link = $s?month=$monthyear=$yeargoto_date=yes;
However, since upgrading to PHP version 4.3.2 it returns the following URL:
Hi,
due to a current PHP upgrade i am unable to use the following code to get
the filename of the page:
$s = getenv('SCRIPT_NAME');
I need to get the filename without any avariables attached. For example if
the URL is
www.mydomain.com/test.php?test=yes
using $s = getenv('PHP_SELF');
returns
thanks for your reply,
but that doesn't seem to work either, how about removing everything after
and including the ?, how would i do that?
Manoj Nahar [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
u can try
$filename=$_SERVER[SCRIPT_NAME];
Manoj
Shaun wrote:
Hi,
due
Hi,
Is there a facility out there that I can use to automatically backup my
database to my local machine every night using PHP and MySQL?
Thanks for your help
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I am dividing a number by another number and printing the result to the
screen. How can I ensure that the number is rounded up to 2 decimal places?
Thanks for your help
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I have addresses stored in my database. I am trying to create a page that
generates a letter automatically for the user to print. Given a string of
format ', x, x, xxx' how can I edit it so that the comma's are
replaced with line breaks i.e. /n. This will enable me to display the
Hi,
I am trying to print the current and next three years in a form. Using the
following code I can only print 2000, 2001, 2002, 2003:
select name=start_date_year
?php
$i = 1;
while ($i = 4){
if ($i + 1 == date(Y, strtotime($_GET[mysql_date]))){
echo 'option
Hi,
How can i add a leading zero to the first result of this loop so that i get
00, 15, 30, 45?
select name=start_date_minute
?php
$i = 0;
while ($i = 45){
echo 'option value='.$i.''.$i.'/option';
$i+=15;
}
?
Thanks for your help
--
PHP General
Hi,
using the folling line fo code i am trying to add some text to an email:
$subject .= \nBooking Commences: .date(jS F Y \a\t H\:i,
strtotime($booking_start_date));
However the output is:
Booking Commences: 24th September 2003 a09:00
I think the \t is being interpreted as a 'tab', how
Hi,
Why does the following code print '00', surely it should print '08', I'm
baffled!
date(H, mktime(8, 0, 0, 0, 0, 0));
Thanks for your help
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
How can I compare two dates with PHP, to see if one date occurred before the
other?
Thanks for your help
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I have two dates retrieved from a database stored as variables: $mindate and
$maxdate, how can i compare the two with PHP so i can loop and increment
i.e.
while($mindate $maxdate){
//do some stuff
$mindate++;
}
Thanks for your help
--
PHP General Mailing List (http://www.php.net/)
Hi,
I have a page which uses POST variables sent from a form. If a user clicks
on a link on this page is it possible to send those POST variables to the
next page aswell?
Thanks for your help
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
\;
?
/form
a href=javascript:document.form1.submit();Submit Again/a
Like that?
On Wed, 2003-05-28 at 12:22, Shaun wrote:
Hi,
I have a page which uses POST variables sent from a form. If a user
clicks
on a link on this page is it possible to send those POST variables to
the
next page
Hi,
For a given date, how can i find out the date of the day of the begining of
that week?
Thanks for your help
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
of course ;)
but i couldn't find a reference to this particular problem...
Jay Blanchard [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Have you checked the date functions at http://www.php.net ?
-Original Message-
From: Shaun [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 29
how about stripslashes();
http://www.php.net/manual/en/function.stripslashes.php
HTH
Shaun
Dan Joseph [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
Have a look at: http://us2.php.net/manual/en/function.ereg-replace.php
That might do what you want.
-Dan Joseph
What
Hi,
I have a page with 78 textfields on, is there a way of picking out the field
names and values that the user has filled in as they are very unlikey to be
filling in all of them?
Thanks for your help
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Hi,
I have many textfields on my page. How can I add to a string the name of a
textfield that ends in the same number as another textfield i.e. 5?
Thanks for your help.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I am creating a timesheet application, how can I make sure that a user has
entered a number, and that the number is a whole number or a decimal up to 2
places, and that the number is less than 24?
Thanks for your help
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Hi,
I am using the folling code to list all of my tables in a database:
?php
$result = mysql_list_tables($database);
if (!$result) {
print DB Error, could not list tables\n;
print 'MySQL Error: ' . mysql_error();
exit;
}
printtable width=\500\
1 - 100 of 317 matches
Mail list logo