In one field on all records I want to get rid of anything longer than 8 characters,
I tried: SELECT LEFT(`colName`, 8);
It didn't work of course... hehehe
Can someone enlighten me?
thanks,
Mav
I have the main application and I added 3 new projects to the solution,
I added them as DLL's so I can compile and update them separately, but my Proj2 DLL can't see variables or procedures in the Main App...
Any ideas what I'm missing ?
I think it's a scope issue but not quite sure how to fix...
Hey everyone,
anyone know a quick way to load myArray() with the content of a table ?
The table has no key or IDs, it just holds Label Captions
tia
+--------------------------+
| "Hacker by Heart" |
| Yahoo! : saenzcorp |
+--------------------------+
I want to list files in a dir but NOT *.php files
or *.htm files
here is what I have so far;
<?php
if ($handle = opendir('.')) {
while (false !== ($file = readdir($handle))) {
if ($file != "." && $file != "..") {
echo "$file\n";
}
}
}
closedir($handle);
?>...
Hey guys,
Is there any way to get a php files to reference images from it's own location rather them the location it's included from ?
for instance; my index file has an include to a file in a dir called pages and the included file has images that are in a dir called images that is in the dir...
Ok, I know this is a weir one, but... here goes
"I'm try to be a good webmaster and not use frames"
I have a include to my menu in one cell of a table on the left and my main cell for content on the right
when I get a page that loads in the main cell, if the page is very long the menu centers...
Ok, I know this is a weir one, but... here goes
"I'm try to be a good webmaster and not use frames"
I have a include to my menu in one cell of a table on the left and my main cell for content on the right
when I get a page that loads in the main cell, if the page is very long the menu centers...
Hey guys,
I've been asking many people, mostly friends...
and everyone tells me not to use frames if at all possible
but,
It's so much easier to use frames then cells...
for instance if I want to load a page with an include statement, but I want the page to load in a cell in a table,
how do I...
Hi All,
How do you stop drag & drop process if the person drops on to the same listbox ?
error handling took care of the error but it still adds an empty item to the listbox...
tia !
--------------------------------------
"Hacker by Heart"
saenzcorp@hotpop.com
Hi all !
Does anyone know of a free ocx I can use,
just to encrypt the settings in my ini file ?
tia
--------------------------------------
"Hacker by Heart"
saenzcorp@hotpop.com
Hi All !
how do I set the minimum width on a sizable form ?
so they can't make it too small
tia :-)
--------------------------------------
"Hacker by Heart"
saenzcorp@hotpop.com
G'day all !
I created an application, but each time I install the newest version, it adds the name and #1, #2, #3 for the same app in the "Add Remove Applications" dialog window
Any idea how I can create an update for my application ?
tia
--------------------------------------
"Hacker by...
I have this script I'm working on to study the way cookies work; but I have no idea why it does not create a cookie on my machine ???
<?php
if (!isset($_COOKIE['TestCookie'])) {
setcookie("TestCookie", $_POST['TestCookie'], time()+3600) ;
setcookie("visits", 1) ...
Hello all !
Why is it, that this query won't work ?
MySQL created it for php, I just added the variables...
$sql = 'SELECT count( * ) '
. ' FROM users'
. ' WHERE name = "$name" AND pass = "$password"';
it should return 1
tia, this is bugging me ...
Don't anyone blow a gasket !
I'm learning, and I know my scripts are old !
but just the same, they are teaching me a lot !
I'm having a problem making this simple script work !
<?php
if(!isset($name)&&!isset($password))
{
//Visitor needs to enter a name and password
?>
<center>...
I'm having a problem with cookies and php
"This is out of a book"
my first page is:
<?
session_start();
$sess_var = "Hello world!";
session_register("sess_var");
echo "The content of \$sess_var is $sess_var<br>";
echo "<br>" ;
print_r ($_SESSION);
echo "<br>" ;
print_r ($_COOKIE);
echo "<br>" ...
This is a new install,
but I can't seem to get the floppy drive to read or write !
any ideas how to unlock this ?
it has a lock on the icon now,
did I do this ? somehow ?
thanks guys!
"Hacker by Heart"
saenzcorp@hotpop.com
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.