Hi,
I wonder if someone is willing to help me optimize the following query:
SELECT <somefields>
FROM schools
LEFT JOIN addresses ON addresses.fkSchool = idSchool
LEFT JOIN users ON users.idUser = fkLogin
LEFT JOIN xlevels ON xlevels.fkSchool = idSchool
WHERE fkDep = 1
AND (fkLevel = 2 OR...
Hi,
I'm trying to get Apache to rewrite URLs based on this simple need:
convert this: /somedir/help/chat
to this: /somedir/help/index.php?on=chat
I want to use an .htaccess file on /somedir/help, but I can't seem to find the proper config for mod_rewrite... I've tried with this (remember its...
Hi,
Is it possible to place an image on the screen relative to the position of another image? Something like this:
<img id="imgRel" src="someimage">
<img id="imgAbs" src="otherimage" style="position: absolute; visibility: hidden">
<script...
Hi,
I'm trying to assign the "onmouseenter" event programatically with the following code:
function cscript(root) {
for(var i=0;i<root.childNodes.length;i++) {
btn = root.childNodes(i);
if (btn.className.toLowerCase().length > 6) {
chk =...
Hi,
I've successfully configured mod_rewrite on a server using the following .htaccess file:
RewriteEngine on
RewriteBase /
RewriteRule ^edu(.*) /index.php?uri=$1
And so when any URL of this type is entered:
http://myserver/edu/lalala/yeah
Apache calls...
Hi,
I'm wondering if search engines index files that don't have a standard extension (html, asp, etc.). I want to use some special extensions to distinguish some of the files on my page, and although they would be threated as normal PHPs by the server, I wonder if they will be indexed.
Thanks...
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.