An alternative way is to add a primary or unique key and make the code
snippet like this:
mysql_query(INSERT ignore into AuthNum (FirstNum, LastNum, NextNum, KeyField) VALUES
(1,2,3,1),$dblink);
mysql_query(Update AuthNum Set FirstNum = 1, LastNum = 2, NextNum = 3,$dbLink);
If there is a
Jen,
Don't use eregi_replace when str_replace will do.
$contents = str_replace($matches[0][$i], $blah, $contents);
Also the dots should be escaped or gif and jpg without
dots before them will be matched.
preg_match_all('{\/*[A-z0-9_/-]+(\.gif|\.jpg)}', $contents, $matches);
It's not very clear what you want but the following could be it:
?if(!isset($_GET['hid']))
{$h=1;}
else
{$h=$_GET['hid'];}?
a href=Delay.php?hid=?php echo $h+1; ?
img src=Gif/nextque.gif border=0/a
i have written code such that initially it will display the value
correspond to the value
I would like to begin working with mail servers in PHP, with the intent of
creating a webmail system for my site. I am trying to get things working,
but am not exactly sure how to get everything installed and configured
correctly. I know that I have to install a c-client library, but am not
,56K,CreateDate,Active,Timezone,ModDa
te,ModNote
403 -770 -4904 ,CALGARY,AB,CAN,T2,Y,Y,Apr 29 2002
12:00:00:000AM,I,GMT-0700,,
As for variables, I need the following:
Split Number into $AreaCode $Number 403 770-4904
$City
$State
$Country
Thanks for any help.
Jason D. Williard
--
PHP
I am trying to build script that will parse a file on the user's computer.
There are 2 things that I am not quite sure about.
1) How to read a file on the user's computer, and not on the server.
2) How to parse a line similar to the one below:
7/29/2003 , Report Title , Page , Agent Name , 5200
I am trying to build script that will parse a file on the user's computer.
There are 2 things that I am not quite sure about.
1) How to read a file on the user's computer, and not on the server.
2) How to parse a line similar to the one below:
7/29/2003 , Report Title , Page , Agent Name , 5200
Is there an easy way to create a calendar in PHP, such as a calendar
function? All I need is a dynamically created calendar to link to other
pages.
Jason D. Williard
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
8 matches
Mail list logo