Sure, just do:
mysql_data_seek($sql_result,0);
before you get to your while() the second time.
Hope this helps,
Joe
TopFive wrote:
> Hello, everyone -- I'm new to the list, and to PHP.
>
> I own a very large, very active original humor website which
> currently consists
I am facing problem in connecting to Oracle from php.
I followed the instructions listed in
www.oracle.com/technology/tech/opensource/php/apache/inst_php_apache_linux.h
tml.
However, when I run phpinfo(), it show that oci8 is
not loaded and eventually the ocilogon() is not
working.
I'd really a
x27;t browse,
add or edit records through phpmyadmin which is a real pain.
Any help would be greatly appreciated. If someone can just fix it for me
please let me know a cost.
Thanks
Joe
[EMAIL PROTECTED]
-BEGIN GEEK CODE BLOCK-
Version: 3.1
GB/CM/CC/E/H/IT/MC/MU/P/SS [EMAIL PROTECT
Try putting this in your crontab, to access the webserver in order to execute
the script.
lynx --dump http://www.yourserver.com/my_script.php
--Joe
farhat daud wrote:
> i have prepared a php script which takes input from a database and sends it
> to certain email addresses.
> this
nd add it to
the path for includes you use in all projects. Then you might set your
include_path="d:\inetpub\php\incude;."
Best wishes,
-joe "shmengie"
- Original Message -
From: <[EMAIL PROTECTED]>
Newsgroups: php.db
Sent: Tuesday, February 13, 2001 7:30 PM
Subject
he one page and in articleload.php do
$h=urldecode($h);
--Joe
Sridhar Ranganathan wrote:
>
> Hi,
>
> I have a search engine. It finds articles and displays the headings. When I
> click on the heading, I wanna load the article using a single page on the
> fly.
>
> I did a
ogram lying around my linux box. A couple of
distributions later, I find none..
vi works well though..
$ vi tnsnames.ora
:set ff=unix
:w!
Did the trick for me, HTH.
-Joe
""Peter J. Krawetzky"" <[EMAIL PROTECTED]> wrote in message
001801c09cce$8c530160$[EMAIL PROTECT
now how to do it with emacs... ;-) Didn't take long to figure it
out with vi, so I went that route.
(BTW who's the joker at Microsoft that thinks ctrl-p should print things?)
-Joe
""Peter J. Krawetzky"" <[EMAIL PROTECTED]> wrote in message
000c01c09cf2$c00a8ef0
I suppose the authors never concieved a replacement parameter for select
specification.
try:
> $sql = "select foo, bar, rid from masterdata WHERE rid=:rid"
You need to loose the colon ":" or place it to the right of a where clause.
<[EMAIL PROTECTED]> wrote in message
F114C0EF28F3D211B7E8400061
e and how you are using rowid, I cannot
guess what are trying to do.
It is a good idea to avoid using rowid for updating records. Instead, use a
primary key column containing a sequence generated value for record
identification.
Good luck,
-Joe
"Sven Voigt" <[EMAIL PROTECTED]
impler to create and maintain:
$ mysql --execute "delete from carts where timestamp > now() + 36000"
--
Have fun,
-Joe
""Jorge Santos"" <[EMAIL PROTECTED]> wrote in message
002e01c09ee4$f1754360$[EMAIL PROTECTED]">news:002e01c09ee4$f1754360$[EMAI
Don't complicate it...
Just enclose your list entries in ${entry} and use another page if you
want...
Or loop back to the same page and check
if(empty($id))
{show the first list... ${entry} ...}
else
{ show the second list}
""Sridhar Ranganathan"" <[EMAIL PROTECTED]> wrote in message
[EMAIL P
":body" in sql isn't the same as ":bodytext" in the bindbyname statement,
after that, you're in deeper than myself...
HTH,
-Joe
""Chris Murtland"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
&
back to the drawing board...
Re-compile php --with-mysql
""jim and lois flaherty"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> help , I have this problem
>
>I have redhat 7.0
>mysql 3.23
>and php-mysql rpm installed
>
> my code
>
>
>
>
You are aware that md5() generates a 32 byte character string?
Working on the 10 digit password request, have you alotted enough space in
your database columns to cater to a 32 byte string (64 for multibyte)?
BTW: md5 has eaten everything I've thrown at it ;-)
""bryan"" <[EMAIL PROTECTED]> wrot
This feat will require a java script (not appropriate for php/db).
I saw something on a javascript site, perhaps www.webreference.com
gl
""Matthew Cothier"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> >Why not just create a table that will resize to any r
I doubt that a few thousand records would be more than mysql is capable of
handeling.
However my ignorance of Mysql is abundant.
Does it use the /tmp directory and is your /tmp or root partition small?
(guessing linux here).
Does mysql use the /tmp directory for temporary tables?
(Answer in Read
Heh, hate this gotcha...
The file permissions are good... ok, now check each directory up to
mysql.loc
/var
/var/lib
/var/lib/mysql
Does the world have read and execute perms on all of the above (hehe made a
funny)?
Without read and execute perms on the parent directories, the world cannot
see t
Excuse me for my lack of understanding, but what does this have to do with
php or databases?
"Jess Ragaza" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> or eBay? Well, I missed it too. Now we all have the
> great opportunity not only to relive it but also to
Nope, session management was added in php4.
The phplib project among other things, provides a session management
mechanisim.
""Free Beachler"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> is there any support for session mgmt in php3?
>
> my client is tryin
Curious. I disabled javascript in IE 5.5
Out of the limited scripting I use on my site, the navigate to first entry
field nolonger works, but the onchange() event seems to be firing still...
Go figure.
"Ron Brogden" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]
this chunk of code comes out of
http://www.php.net/manual/en/function.ocinewcursor.php
Hope that helps, I havn't gone there (yet).
""Richard S. Crawford"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Ah! My bad! I sent this question out with the wrong s
You need to acquire the oracle network drivers for linux, from Oracle. I'm
only aware of the ones that come with Oracle for linux, though they may have
them bundled seperately.
Fight your way through the inconcievably difficult installation process.
After defining some environment variables (th
estroys it without setting
it.
--Joe
On Mon, Mar 12, 2001 at 01:08:37PM -0600, Fabio Ottolini (EDB) wrote:
> First File - index.php
>
> header("Pragma: no-cache");
> header("Cache-Control: no-cache, must-revalidate");
> if(empty($check)) {
> $page
I've experienced this behaviour also.
My first guess is that there are broken connections to oracle server.
Cleaning up the code so that all resources are properly freed seems to have
helped.
Restart apache to clear the defunct OCIPLogin(s). If it happens again,
you're probably not freeing a $s
I'm not looking forward to this... Due to circumstances beyond my control,
I will be forced into a similar configuration soon.
Try putenv("ORACLE_SID=WKDS.world");
If your sqlnet.ora does does not specify .world as the default domain, then
that may be the problem.
Was your TNSNAMES.ORA file ftp
Brian,
Thanks for the solution, that is a good one.
I imagine you can set the environment variable oracle_sid this way also.
ORACLE_SID=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.68.10.1)(PORT=1521)
)(CONNECT_DATA=(SID=TEST)))
re: TNSNAMES.ORA
It seems to be a fairly common occurence where
Well,
No and Yes.
If the form is posted, whichever page that it was posted too will have
$HTTP_POST_VARS["text1"]
set to whatever was in the textbox. $text1 may also be a global variable,
depending on your php.ini settings for register_globals and also
variable_order.
It took me a while to feel
Seems like you need to try curly braces.
${art_nr}_${i}
""Keith Whyman"" <[EMAIL PROTECTED]> wrote in message
024d01c0ac8f$1a6373c0$0b64a8c0@server">news:024d01c0ac8f$1a6373c0$0b64a8c0@server...
>
> driving me up the bloody wall !
> I'm sure it's something simple !
> This works fine
>
>
> for ($i
No, two is a more accurate comparison.
!==
Although for most cases != is sufficient.
""Richard S. Crawford"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> use just one = sign. So,
>
> if ($PASS != $PASSNOG) {...
>
>
> At 01:41 AM 3/15/01 +0100, Duky wrote:
>
AND s.ref3_id=r3.id
I sure it would work in Oracle, a little curious about it working in mysql.
Good Luck,
-Joe
""Brett"" <[EMAIL PROTECTED]> wrote in message
01a701c0ae6e$fcacea00$e1214ed8@bcnu">news:01a701c0ae6e$fcacea00$e1214ed8@bcnu...
> I am retrie
http://phpclasses.upperdesign.com/browse.html/package/20
To my knowledge, this is the home page for metabase. Manuel has done a
wonderful job putting together a documentation and a tutorial.
""Dean Hall"" <[EMAIL PROTECTED]> wrote in message
98usbh$li8$[EMAIL PROTECTED]">news:98usbh$li8$[EMAIL
I believe OICrowcount() only returns the number of affected DML affected
rows, ones affected by insert or update.
Use two seperate queries, one for the count, then another for the data.
"SELECT COUNT(*) FROM yourTable WHERE yourWhereClause"
Or read all the records into an array and count 'em as
ic overflow, or string
truncation Cannot transliterate character between character sets"
What's the problem? It doesn't work on Windows, the same on Linux.
It's the same with other charactersets (ASCII, WIN1252...).
many thanks for an answer
Joe
--
PHP Database Mailing List (htt
try:
Home");
?>
""Osman Omar"" <[EMAIL PROTECTED]> wrote in message
00f901c0b0cf$c99e7da0$da604a2b@sony">news:00f901c0b0cf$c99e7da0$da604a2b@sony...
> Hi,
>
> Suppose I want to display HTML code eg "Home"
>
> How can I do that in php?
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To
Better yet, use "" for browsers.
Or use Jeff's method but use nl2br function to convert new line to
echo nl2br($result);
""JJeffman"" <[EMAIL PROTECTED]> wrote in message
007f01c0b0d8$212e97a0$5bd4d7c8@jjeffman">news:007f01c0b0d8$212e97a0$5bd4d7c8@jjeffman...
> Create a variable to concatenate
I believe mail works completely different on unix. It probably doesn't
suffer the same problems, because it's a direct call to an external process.
Lookup "sendmail"
""Free Beachler"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Someone else has tested thi
o two
steps in one.
$holder=urlencode(seralize($var_name));
$var_name=unseralize(urldecode($holder));
Might also want to use htmlentities():
echo "next";
gl,
-Joe
""Mark Collin"" <[EMAIL PROTECTED]> wrote in message
01f501c0b186$f82da990$4134fea9@effigia&quo
what the computer has to do.
The computer (dbms) picks which index to use based on whats column in the
where clause.
Order By clauses can also benifit from an index.
-Joe
""Steve Brett"" <[EMAIL PROTECTED]> wrote in message
99pjr2$20s$[EMAIL PROTECTED]">news
Is it easier to update every web page you code with
get_env("HTTP_USER_AGENT") ; or easier to grab a new browser.ini file?
""Simon R Jones"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> hi all
> how does everyone feel about the get_browser function?? Is the
I'm hoping someone can help me with this. I am having
problems with the mysql_fetch_array function in PHP
5.0.1 - the code listed below works fine with PHP
4.3.2.
Here is my setup:
A DB class file that has the following for the
mysql_fetch_array (I know this function is OK because
its working wh
n is, how do I alter the "query" method to
return my new MySQLi_result object instead of the base object? Or, is
there another/better way of achieving what I'm looking for? Am I missing
something very obvious here? :)
Thanks,
Joe Bandenburg
--
PHP Database Mailing List (http://
n is, how do I alter the "query" method to
return my new MySQLi_result object instead of the base object? Or, is
there another/better way of achieving what I'm looking for? Am I missing
something very obvious here? :)
Thanks,
Joe Bandenburg
--
PHP Database Mailing List (http://
on
Windows and it's not nearly as mature as Metabase.
-Joe
- Original Message -
From: ""Dean Hall"" <[EMAIL PROTECTED]>
Newsgroups: php.db
Sent: Monday, April 02, 2001 1:36 AM
Subject: Re: [PHP-DB] metabase support
>
> ""Manuel Lemos"
Do both, javascript and server side validation.
Javascript can cut down on unnessary page refreshes.
Serverside is the only way to guarentee the results, because of the reasons
outlined here.
Yes, it's more work, but it will provide a better experience for the end
surfer. No?
-Joe
&qu
acle, not for a long time to come ;-)
-Joe
""Brian.J.Mauter"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hey,
>
> Has anyone tried out all three of these DBMS packages and evaluated them?
> I was wonderin
Does anyone else find this question quite funny?
MS SQL Server is based on Sybase code purchased from Sybase.
Kinda explains why Sybase and MS SQL server use the same extension.
-
""Javier Boluda"" <[EMAIL PROTECTED]> wrote in message
00f801c0bcf8$c2cd0020$[EMAIL PROTECTED]">news:00f801c0bcf8$c2
Don't have a whole lot of practice with the OCIBindByName function, but I
seem to be having success within a recursive select statement.
I'm not useing the & operator in my implementation. Don't know if that's a
good or a bad thing (yet), but it seems to be functioning properly.
The third param
Put the percent symbol inside of the single quotes:
$result = mysql_query("SELECT * FROM mydata WHERE name like '$begin%'
",$db);
"Naga Sean" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> It still not working
> I want to get the result of people with the fir
Also consider the oracle sql
ALTER SESSION SET NLS_DATE_FORMAT='-MM-DD HH24:MI:SS'
or whichever format you prefer.
This sets the default format returned when selecting a date column.
-Joe
"Steve Farmer" <[EMAIL PROTECTED]> wrote in message
news:p04320402b6
My solution was almost as elegent...
$query="select * from customers";
$queryand=false;
if(!empty($f_Account)) {
$query.=" WHERE upper(P.Account) like upper('$f_Account')";
$queryand=true;
}
if(!empty($f_First_Name)) {
$query.=($queryand?" AND ":" WHERE ")."upper(p.First_Nam
Looks like you've got different versions for php and your modules.
Since php is the oldest, make sure you have the newer php4isapi.dll and
php4ts.dll in the system directory, or wherever you installed them.
""Benny"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED].
Does the database user your logging in as have execute permissions for that
procedure?
"Marcelo Dias de Toledo" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Here is the code:
>
> $stmt = OCIParse($conn,"BEGIN prontolog.pc_int.pedido(:p_cgc_lweb,
> :p_id_clie
4.0.5 went through many release candidates.
As the bugs were found and corrected new ones and new features were added
also. In order to cut a stable 4.0.5 version for general consumption,
development was halted at one point, notes continued to be added, to
document stuff.
If it makes you feel a
I don't think dropping the quotes is the best solution.
One might consider dropping the warning level in php.ini, if it is a
problem, or use numbered array like mysql_fetch_row() returns.
-Joe
""Henning Kilset Pedersen"" <[EMAIL PROTECTED]> wrote in message
he need for the client to keep sending the same information
over and over again.
In either event, I recommend useing a different session variable name than
the put variable's name, unless you use $HTTP_GET_VARS/$HTTP_SESSION_VARS
accordingly.
-Joe
""DC"" <[EMAIL PRO
Doh!
I meant there is "NO dire need"
""Joe Brown"" <[EMAIL PROTECTED]> wrote in message
9cp3kv$3hj$[EMAIL PROTECTED]">news:9cp3kv$3hj$[EMAIL PROTECTED]...
> For this operation there is dire need for session management.
>
> And remember the
Nope.
something like this may get you where you want to go though
include("myObjectClassDeclaration");
$myInstance=new myObject;
echo
"http://blahblah.com/?passedClass=".urlencode(serialize($myInstance));
Then in subsequent pages this should work:
include("myObjectClassDeclaration");
.0.6 against Oracle 9i and everything went smoothly. However, when I
> attempt to execute my PHP code, I get the following error:
>
> ORA-12541: TNS:no listener
>
> My database admin says that the connection information is accurate. Is
> there something new I have to do with
om Tsongas wrote:
> Joe,
>
> I built PHP with oracle and oci8 extensions. I built it as a static module for
> Apache 1.3.20.
> If you are getting errors from running 'configure' (something like it can't
> locate the Oracle libraries) its because the Oracl
abase. Instead of using ID for your primary key fields, have
TABLE_NAME_id instead. That eliminates this type of problem.
New here so sorry if this has been answered earlier, and I missed the
message.
Joe
"Rick Emery" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]&q
iable league_id. If
$league_id was equal to 10, the HTML code you would see when you viewed the
source is:
HTH
Joe
"Rick Emery" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I don't understand the phrase "html generate
ns. So, if your extensions are .php, you can change
them to .html, .php3 or even .phtml
When I convert everything to .phtml and point a browser at
the BBS directory, it lists the file contents of the directory.
Can anybody help?
Thanks
Joe
Joe Warner | Sr. Operations Technical Analyst
>Unless you show us the offending source code indicated by the error
message,
>we can't help
OK, what should I post?
Do you want me to post the contents of all the files referenced
by the error messages? e.g.- config_inc.php3, sql_inc.php3
and index.php ?
Thanks
Joe
Joe
w to
do it when it's all on one machine.
This is what I ran:
./configure \
--enable-track-vars \
--with-gd \
--with-mysql \
--with-pgsql \
--with-apxs=/usr/sbin/apxs
--with-config-file-path=/etc
Any help or pointers would be appreciated. Thanks.
Joe
--
PHP Database Mailing List (http://w
I got a PgExec() error that said:
Warning: PostgreSQL query failed: PQexec: you gotta get out of a COPY
state yourself.
What in the world does that mean? Thanks,
Joe
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
I've been digging through the postgres docs and haven't found a way to
use reg ex's in a query. Is there a simple way? Something similar to
MySQL's RLIKE? I'm trying to select all records that start with a number
[0-9]. Thanks,
Joe
--
PHP Database Mailing List
Hi; You could try mysqlimport with the following syntax:
mysqlimport -h localhost -u username -p -L dbname pathtofile
where' file' is tab delimited text held on local machine.
All the best,
Joe
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Yes - __FUNCTION__ would hold ( string )[function name]
"Peter Beckman" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Is there some sort of master variable which will tell you which function
> you are currently in?
>
> Like __FUNCTION__ like there is for __FILE__ and __LINE__... So
directive from 0 - 100. If you set it to 0, the gc will
never run and the expired sessions will hange around, if you set it to 100,
the gc will run every time the session engine starts up ( every call to
session_start() ).
~ Joe Penn
"Allens" <[EMAIL PROTECTED]> wrote in mes
/html/[EMAIL PROTECTED]
html
http://securityresponse.symantec.com/avcenter/venc/data/w32.hllw.kickin.
[EMAIL PROTECTED]
Joe
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 19, 2003 8:23 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP
type:
What's it's problem? I've got flippin' issues!
In the message box, it comes in e-mail as:
What\'s it\'s problem? I\'ve got flippin\' issues!
Escaping every apostrophe.
How do I have this not happen?
Thanks in advance.
Joe
Thanks, the stripslashes() function worked perfectly!
> -Original Message-
> From: Jacob A. van Zanen [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 22, 2003 5:48 PM
> To: [EMAIL PROTECTED]
> Cc: Joe Walker; [EMAIL PROTECTED]
> Subject: Re: [PHP-DB] It\'s wier
t = $cmd->Execute();
Any assistance anyone can offer would be greatly appreciated. Thank you.
Joe
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I am gettting this error using ADO to work on a MS Access 2000 DB using PHP.
My code is attached.
The thing that is confusing me --> I am getting the error on the very first
recordset I try to open (line 13).
Any assistance would be greatly appreciated.
Thanks in advance.
Joe
begin
Hello,
First time on this list, I generally use the general PHP list... but I was
curious if alot of people are using SQL CACHE with MySQL and PHP and
does it seem to increase the performance... or lighten the load on mysql for
you?
Thanks
Joe
"There is more then one record with that name or record
> does not exist!";
> }
> }
> }//end function file_read
> }// end of class seek
> if ($pattern){
> //print("$pattern ");
> $obj1 = new seek();
> $obj1->file_read($pattern);
> exit;
> }
&
If you're not sure you should probably stick with mysql_connect() -
otherwise you could end up bogging down mysql with way more
connections than you need if you're not careful.
On Jun 20, 2006, at 12:34 PM, Juanjo Pascual wrote:
How can i know which of both is better to use each time?
--
doing to ensure that the result set
from the query persists though the change in pagination from the first
page of results to the second page.
In both cases the search scripts are includes in other php pages.
I think I need to understand how the result set is carried through or
reacquired in
in this context is beyond me.
Thanks
Joe.
On 23 Jan 2010, at 19:46, Bastien Koert wrote:
The easiest thing to do is either
A) store the author name in a session for the duration of the searches
B) add the name to the pagination url so that its passed along withe
the page number
On 1/23/10, Joe Ke
.
For some reason I do not understand the result set does not carry
through to the succeeding links in the pagination sequence.
Thanks,
Joe
On 23 Jan 2010, at 19:16, Edward Brookhouse wrote:
Isn't there a matching select later that sets up the number of pages?
I start with:
$offset = ($pa
Manual, or any tutorial or anything at all on the web about sustaining
a result set through pagination links when the SELECT clause of the
query is modified by a WHERE clause containing a variable.
As it stands I am unable to construct a search engine query to cover
the matter.
Thanks
J
ch to everyone who took the trouble to reply to my
cry for help. It is all very much appreciated.
Joe.
On 23 Jan 2010, at 21:32, Phpster wrote:
If you change the $_POST to &_REQUEST in this piece of code
$author_name = $_POST["author_name"];'
To make it
$author_name
Hi there, you could grab the whole file name from db, form, etc... strip it
down to the '.jpg' , concatenate $IDNUMBER . $NUMBER OF PICTURE , then
rename it using the combination of $IDNUMBER . $NUMBER OF PICTURE .
Jose Maria Sala <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:
hi there. check out the image functions : 'imagecreatefromjpeg',
'imagecopyresized', 'imagecreatefromgif', and 'imagecreate' in the php
manual http://www.php.net
hth joe
;0
Chris Payne <[EMAIL PROTECTED]> wrote in message
000c01c1ac43$5ca04
hi there. if you are unable to set it on the db end why not insert/update
the current date along with your insert and update queries?
hth joe :)
Todd Williamsen <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I want the date to automaticall
did test to see if $id was actual the value you were expecting? is $id an
auto increment field?
Chris Payne <[EMAIL PROTECTED]> wrote in message
000c01c1a23a$ef779900$0200a8c0@chris">news:000c01c1a23a$ef779900$0200a8c0@chris...
Hi there,
Can anyone see what is wrong with this query? I am trying
ion_start(); is at the top of every page with no space
before.
These should help you out a little. Joe :)
Álvaro muñoz sánchez <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi, all
>
> First of all, I apologize if this is a dump quest
irect them to the appropriate page. If they don't have the cookie, prompt
for a login action.
Hope this helps, Joe :)
Danny Kelly <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello,
> I am trying to set up a session management syst
Hi. addslashes() going in to db, stripslashes() coming out :)
HTH Joe :)
Todd Williamsen <[EMAIL PROTECTED]> wrote in message
002601c1b033$382a4700$f6b2d83f@goofy1">news:002601c1b033$382a4700$f6b2d83f@goofy1...
> Paul,
>
> It is being inserted into a database
&g
$connectionid);
//if the query fails
if (!$result) {
die("problemo: Your query failed");
}
//now loop through the rows :)
while ($row = msql_fetch_array($result)) {
echo $row["0"];
}
Hope this helps you out :) Joe :)
Ken Thompson <[EMAIL PROTECTED]> wrote in message
Hi. Post up some code so the ng can help you out. :)
Justin Hall <[EMAIL PROTECTED]> wrote in message
01c1b015$54445250$fdd80918@CT41311A">news:01c1b015$54445250$fdd80918@CT41311A...
> I have a script that calls a function to perform a query using the
> arguments sent to the function vi
Why couldn't you use something like this:
$mystr = substr($mystr, -3);
Joe
Jeroen Timmers <[EMAIL PROTECTED]> wrote in message
003001c1b026$97373cb0$7f6440d4@jeroen">news:003001c1b026$97373cb0$7f6440d4@jeroen...
> you can take the function substr from php in combinati
Try looking at the unlink() function. It removes files off of the web
server.
HTH Joe :)
Todd Williamsen <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I created a couple of forms where one inserts new contact data with a
file,
> in th
ammendment:
use the unlink() function once you have confirmation of a successful update
:)
HTH Joe :)
Todd Williamsen <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I created a couple of forms where one inserts new contact data with a
fil
it as the primary
key. Here's a link to the mysql website:
http://www.mysql.com/doc/C/R/CREATE_TABLE.html Notice the primary option
beside the auto_increment option, you'll no doubt need to use that as well
to ensure you create the proper relationships between entities.
Hope this helps you o
Thx Jakob,
appreciate the help
Cheers Joe :)
Lerp <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi there. Got a bit of a snag. I'm migrating an ASP app to PHP with a
> mssql7.0 backend. The snag is this, I have a 'startti
Hi there, sounds like you do not have the proper read/write permissions on
that file.
HTH Joe :)
Penockio <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I can't use sql command "insert into " but I can use "select"
for
> online users to view." ;
> }
> else
> {
> print " color='#663399'>Error encountered during resume upload
process.";
> }
>
> $patharola = "tempimages/". $userfile_name;
>
> // insert path into database here
> # connect to db
>
Hi again JD...I got to thinkin':)
Just out of curiosity...how many images were you bringing back from the db
when your script timed out?
I store the path of my image in the db and echo it out when I need to.
Cheers Joe:)
Jd Daniels <[EMAIL PROTECTED]> wrote in message
[EMAI
1 - 100 of 113 matches
Mail list logo