Hi,
I know this is probably a stupid place to ask :D but anybody know thats the code for ??
Like http://www.avenue-it.com/html/extracharacters.html
Thanks
Hi,
I have a couple of doubts, first the code:
<span id="muda" onMouseOver=changeName();" onMouseOut="backName();"><font color='green'>A</font><font color='blue'>name</font></span>
<script type='text/javascript'>
function changeName() {
document.getElementById('muda').innerHTML ="<font...
Hi,
I'm trying to do:
$result = mysql_query("DELETE FROM `table` WHERE `field`='value'");
if (mysql_affected_rows()>0) {
//Run rest of code
}
My question is:
If after the DELETE runs on DB and before mysql_affected_rows() is called another DELETE or UPDATE, etc occur? Then...
Hi,
Don't want to abuse the forum, but its a completely different subject and it could be very useful for future users doubts.
Do anyone know any good piece of PHP proxy detecter (not the ones on the web, I test them all and none work on modern proxies).
Or does anyone know any online service...
Hi,
I want to catch multi-session and logout who makes it. Like if you are working on a Firefox browser and if you login on a IE browser, the first session has to be disabled. Same thing on tabs on firefox, etc...
Only one window session active! How can I do it?
Thanks
Hello
If I do:
1) mysql_query('LOCK TABLE tablename');
2) mysql_query('SELECT * from tablename where condition=0');
3) if (cond) {
4) mysql_query('UPDATE tablename SET condition=1 WHERE condition=0');
5) }
6) mysql_query('UNLOCK TABLE tablename');
What happens when another process arrives...
Hi,
Problem: Some folks in my site are clicking two buttons at same time to request opposite operations, for example in Firefox one account clicks remove the thing I had put to sell, at exact same time in IE other account clicks I want to buy the product (normally its a "hacker" running both...
Hi,
How do I delete files that belong to a user or group.
I have a directory with files from 2 users, I want to delete only the ones from one user.
I looked into rm command and didn't see that option.
Thanks
I have this error on my server many times:
open(/tmp/sess_81516e1e3235a35d2f5ade72ccde4acd, O_RDWR) failed: Permission denied (13)
I have /tmp directory with 777 permissions, session.save_path set to /tmp.
What can I do more?
Thanks
P.S. - There is a better forum for this doubt?
Hi,
this query:
SELECT * FROM `table` WHERE `field` like '%Some Name%'
give me empty result
and this one
SELECT * FROM `table` WHERE `field` like '%Some%Name%'
gives me the "Some Name" Guy :( Why does spaces aren't working?
Thanks
Hi...
I have a function where I have a value of 1200000 and php transform it to 1.2E6 and when I put it on the DB it stays 1 :( in there!
How can I make php to put to normal big number? should I make it strval?
Thanks
Hi,
I have timestamp in the DB and I want to extract the day, month, etc directly from the timestamp...
Like it was SELECT DATAPART('day', `my_field_in_timestamp`) as day FROM `table`.
Any change in doing this with SQL only with a timestamp?
Thansk
Hi, I'm kind of noob in PHP...
I make several selects to a table, then I make one update and several selects again on the table...
The update seems to not commit, but if I put $sql->commit(); my execution of program dies there (like exit() or die())...
What should I do?
Thanks,
Telmo Cardoso
Hi...
I have a page with AJAX call onload... but in IE if I have in definitions to search for an update of the page automatically (most users have)... then the ajax code its not going to the server it simply shows what the result that IE have on temporary files.
I cannot ask to all users to...
Hi,
how can I pass parameters in cron job like I tried:
{...domain...}\cron_test.php?code=CRONCODE
and in cron_test.php I had:
if($_GET['code'] != "CRONCODE") {
print "WTF are you looking?";
die("");
}
//rest of cron code here
But it wont work... if I remove ?code=CRONCODE from cron...
Hi,
I'm kind of noob in SQL Server... I use SQL Server 2000. I have a field that is varchar (8000) left from another coder, but now I need it to have more size, but max varchar is 8000...
What should I use?
Thanks
Telmo Cardoso
Hi,
I want do make something like this:
select ta1.* from table1 ta1, table2 ta2 where ta1.field=ta2.field and ta1.field=12
I want to return values even if ta2.field is null!
In SQL Server its (*=):
select ta1.* from table1 ta1, table2 ta2 where ta1.field*=ta2.field and ta1.field=12
How can...
Hello,
I have an aplication JSP-JAVA-SQL Server. And I migrated to MySQL, but in MySQL the SQL its all case sensitive so I would have to change the SQL code in JAVA (that would be crazy, even with find-replace).
The obvious solution is to change the charset and/or collation but I can't find...
Hello,
I'm sorry for posting here this question...but I didn't find a better forum :| to post...
I have an aplication JSP-JAVA-SQL Server. And I migrated to MySQL, but in MySQL the SQL its all case sensitive so I would have to change the SQL code in JAVA (that would be crazy, even with...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.