User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
DaniWeb is a massive community of 332,635 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,234 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our advertiser:
Showing results 1 to 40 of 84
Search took 0.01 seconds.
Posts Made By: sagedavis
Forum: PHP Apr 7th, 2008
Replies: 12
Views: 1,179
Posted By sagedavis
Re: How To Enlarge Image onMouseOver using PHP?

You're welcome,
glad I could help.
sage
Forum: PHP Apr 4th, 2008
Replies: 0
Views: 156
Posted By sagedavis
PHP4 regular expressions?

Hey all,
ok, so, I am a bit weird in my questions but, that's just me. I have a fairly weird one for you.

I have been using RegExSearchReplace (A Java Program) to do this the um, tedious way, but I...
Forum: PHP Mar 30th, 2008
Replies: 12
Views: 1,179
Posted By sagedavis
Re: How To Enlarge Image onMouseOver using PHP?

the answer is that Pop is not defined. you are calling a function called POP in your onClick function and I see no javascript function (because it must be a function in order to use it). I do not see...
Forum: PHP Mar 29th, 2008
Replies: 3
Views: 319
Posted By sagedavis
Re: function in php

ok, you still can't call a php function on a javascript event, which is what your code is trying to do.

What you need to do is use your php to print out the html code but make the onclick event...
Forum: PHP Mar 29th, 2008
Replies: 8
Views: 273
Posted By sagedavis
Re: small error when submitting form

OK, I'm pasting the code you IMd me here, because there are others who may be able to help with this as well.

<script src="signupcheck.js" language="JavaScript"...
Forum: PHP Mar 28th, 2008
Replies: 8
Views: 273
Posted By sagedavis
Re: small error when submitting form

java or javascript?

It's hard to tell, since you aren't showing us your javascript.... but,...
I would say your "Validate" is somehow over riding everything.
You may be trying to pass the...
Forum: PHP Mar 28th, 2008
Replies: 5
Views: 289
Posted By sagedavis
Re: OOPing with PHP4 simple DB connect class?

Great Matti,
I shall try this over the weekend.

The main reason for wanting to pass the var $sql as an arg, rather than type out the statement is because, there might be some dynamic stuff going on...
Forum: PHP Mar 28th, 2008
Replies: 5
Views: 174
Posted By sagedavis
Re: wth?

it could also be a .htaccess mod_rewrite

if you had hacked it to try to make
index.php?name=joe
look like
index/joe
instead, you could have done something weird with it (I've done that), that's why...
Forum: PHP Mar 28th, 2008
Replies: 3
Views: 319
Posted By sagedavis
Re: function in php

you can't call a php function with an onClick event.. onClick is a javascript/DHTML item.

You also don't even need any of the php opening and closing stuff.
Why cause php to print javascript and...
Forum: PHP Mar 28th, 2008
Replies: 5
Views: 289
Posted By sagedavis
Re: OOPing with PHP4 simple DB connect class?

Thanks for this tute, it's pretty good, although, I wouldn't recommend a beginning OOPer to read that right off the bat.

I've been working with PHP OOPing for only a short time, but, as it's a...
Forum: PHP Mar 27th, 2008
Replies: 3
Views: 423
Posted By sagedavis
Re: How to send & as data using _POST method using Ajax

just out of curiosity, would str_replace not have worked easier for this?
You have a string (as a variable at least) and you know what other string is inside of it (or could be inside of it), and...
Forum: PHP Mar 27th, 2008
Replies: 5
Views: 289
Posted By sagedavis
OOPing with PHP4 simple DB connect class?

I am banging my head against the wall here.
I've tried everything that I can think of to get this to work.


class myData {
function myStuff($sql){
$result = @mysql_query($sql,$connection) or...
Forum: PHP Mar 27th, 2008
Replies: 12
Views: 264
Posted By sagedavis
Re: Simple Code needs fixing

I'm lost
Are you saying that your code currently returns # signs for all the text entered or are you saying that you would like it to return the # for your letters?

What are you wanting it to do,...
Forum: PHP Mar 27th, 2008
Replies: 1
Views: 224
Posted By sagedavis
Re: Remove Image

you do not need to figure out the image actually..

Rather than thinking about what html tags you do not want to allow, just think about the ones that you do want to allow.

PHP has a native function...
Forum: PHP Mar 27th, 2008
Replies: 12
Views: 1,179
Posted By sagedavis
Re: How To Enlarge Image onMouseOver using PHP?

OK, well, that's different, you are looking for something like an ajax, hidden div tag which reviels itself on the mousover of another?

Even though you will be using images, think of it more like a...
Forum: PHP Mar 22nd, 2008
Replies: 5
Views: 238
Posted By sagedavis
Re: HELP!!!

oh, duh,
was it "count" that was the reserved word?
sage
Forum: JavaScript / DHTML / AJAX Mar 22nd, 2008
Replies: 3
Views: 498
Posted By sagedavis
Re: LogicWeb AJAX

Ok,
There's nothing wrong with this bit of load time. It only took about 2 seconds for the page to load, and that's fine. Go to myspace and look at how long that piece takes to download.

To...
Forum: JavaScript / DHTML / AJAX Mar 22nd, 2008
Replies: 3
Views: 866
Posted By sagedavis
Re: ALERT and JAVA Script

I don't know how I found this but I did.

alert("Please select Advisor");
document.frmStudentInfo.lstF_ID.selectedIndex == 0;
return false;
}


there is no "if" or...
Forum: PHP Mar 22nd, 2008
Replies: 2
Views: 149
Posted By sagedavis
Re: dynamic html

What Silviuks said.
No one is going to read through the whole code, let alone that entire thing of specs you have.

Your best bet is to tell us which part of the code is failing, even better yet...
Forum: PHP Mar 22nd, 2008
Replies: 5
Views: 238
Posted By sagedavis
Re: HELP!!!

hmmm,
first off, I don't know why your code isn't throwing an error to begin with.
you have an extra ";" at the end there... once you end a function } you don't need to use a ;

I think your problem...
Forum: PHP Mar 22nd, 2008
Replies: 12
Views: 1,179
Posted By sagedavis
Re: How To Enlarge Image onMouseOver using PHP?

adding 100 to the height and width, actually does not maintain the aspect ratio of the image (unless the image is already the same height and width.

If you use a multiplication instead, you should...
Forum: Java Mar 18th, 2008
Replies: 3
Views: 788
Posted By sagedavis
Re: Enter the netbeans any good beginner stuff?

Great answer, you were right, it was "something like this". I only had to plug in the right names (I may have missnamed them in my explination), and poof, I had the popup.
There were a couple of...
Forum: Java Mar 15th, 2008
Replies: 3
Views: 788
Posted By sagedavis
Enter the netbeans any good beginner stuff?

Hi all,
I am fairly new to java, as well as netbeans, but I come from a VB background.
I am wanting to build platform independant aps and find the need to cross over into this world of Java, and...
Forum: PHP Mar 14th, 2008
Replies: 3
Views: 287
Posted By sagedavis
Re: Dynamic content and printer pages

That's great information.
Unfortunately, converting to PDF first is not a viable way to go with this one. We use a PHP pdf generation system, but, as that is just as dynamic as the pages that our...
Forum: PHP Mar 11th, 2008
Replies: 3
Views: 203
Posted By sagedavis
Re: mod_rewrite and PHP problem

Here is my mod rewrite, it should work for you, all you need to do is change mydomain.com to your actual domain, everywhere that you see it.

RewriteEngine on
RewriteRule ^([a-z0-9_]+)$ /$1/...
Forum: PHP Mar 10th, 2008
Replies: 2
Views: 156
Posted By sagedavis
Re: What is -> called and do I understand it? PHP

Shawn
This is perfect. Basically this is working with classes.

I'm not new to using PHP at all, but am new to using classes.
This was very helpful stuff.
Thanks
Sage
Forum: PHP Mar 10th, 2008
Replies: 8
Views: 250
Posted By sagedavis
Re: Email code problem

You don't have a message in there. This could be stopping your email.

you posted that long code then later came back with another issue that you are having with the blank page.. I am assuming that...
Forum: PHP Mar 10th, 2008
Replies: 2
Views: 156
Posted By sagedavis
What is -> called and do I understand it? PHP

I know, this is a weird question, but...
I am working right now on an inherited project, and finding this quite a bit.

$objSomething -> $object

I have had it explained to me that this is similar to...
Forum: Java Mar 4th, 2008
Replies: 8
Views: 472
Posted By sagedavis
Re: Running .jar file without jdk installed

Of course, if you really are wanting to make for lesser work for the user (which, I really don't think you need to do this, but, it can be done), create a self extracting install which will bundle...
Forum: Java Mar 4th, 2008
Replies: 6
Views: 389
Posted By sagedavis
Re: Beginner help w. Java - loops etc

I didn't really read your code, and I am a beginner with Java as well, but have done similar things in VB and in flash, as well as used similar concepts in javascript.

So, I can give you the theory...
Forum: PHP Feb 29th, 2008
Replies: 7
Views: 249
Posted By sagedavis
Re: PHP questions - % of web + finding a developer / host

Those stats are great and I agree whole heartedly with Nav33 on his explination of what makes php so much more widely used.

The biggest problem that I have with asp in general is that it is not an...
Forum: PHP Feb 28th, 2008
Replies: 3
Views: 287
Posted By sagedavis
Dynamic content and printer pages

Hi all,
I have been working on a PHP based application where a user would be allowed to print out specific, yet dynamic information.

I am using a different style sheet for the print page, but I am...
Forum: PHP Feb 28th, 2008
Replies: 9
Views: 182
Posted By sagedavis
Re: Not getting information from the database

um,

$this->_host = $host; $this->_user = $user; $this->_password = $password; $this->_database = $database; $this->_persistent = $persistent;


Up top you have

private $_user = ''; private...
Forum: Legacy and Other Languages Feb 28th, 2008
Replies: 3
Views: 1,727
Posted By sagedavis
Re: help with .bat file opening multiple programs

Yeah, I know, that is the weirdest thing...
I bet you thought I typoed it, but, I didn't... LOL..
Forum: JavaScript / DHTML / AJAX Feb 28th, 2008
Replies: 9
Views: 938
Posted By sagedavis
Re: .style.backgroundColor doesnt work well in IE???

IE also might not like the "" around your id in getElementById I'm not sure though
Sage
Forum: JavaScript / DHTML / AJAX Feb 28th, 2008
Replies: 9
Views: 938
Posted By sagedavis
Re: .style.backgroundColor doesnt work well in IE???

this sounds like the way IE is handling your script.

Which event are you using as your trigger?
A lot of this works better by using prototype or mootools as these libraries have all of the...
Forum: JavaScript / DHTML / AJAX Feb 27th, 2008
Replies: 9
Views: 938
Posted By sagedavis
Re: .style.backgroundColor doesnt work well in IE???

yeah, try using double quotes instead of single around the color...

if that doesn't work...
on line 3 and 4 call it filed2

Sage
Forum: JavaScript / DHTML / AJAX Feb 27th, 2008
Replies: 6
Views: 5,038
Posted By sagedavis
Re: Can't change CSS style for "onClick" text link

acutally, you can just use class, since class is the attribute, and I believe that newClass requires quote...

There are times where you have a hard time working with "this.id" use oneTd instead of...
Forum: PHP Feb 27th, 2008
Replies: 8
Views: 302
Posted By sagedavis
Re: Adobe CS3

I have CS3, for the flash, but a job I applied for required that my notepad++ loving self know DreamWeaver to program my php.

If you are handcoding everything and like all the highlighting, get on...
Forum: PHP Feb 23rd, 2008
Replies: 1
Views: 189
Posted By sagedavis
Re: Too new to figure it out - Can someone help me with a complicated search parameters

without reading your code cause I am tired this morning.
you need 1 page to be like the individual profile page which will handle the viewing of one item.

You need to add to that table an...
Showing results 1 to 40 of 84

 
All times are GMT -4. The time now is 2:23 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC