Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
2
Posts with Upvotes
1
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
~13.8K People Reached
Favorite Tags

54 Posted Topics

Member Avatar for lifetalk

Lifetalk, textarea has nothing to do with PHP, that's html. But, to answer your question, yes, it's possible to pretty much do anything. I assume that if you are asking about php, you must have a clue as to how html forms work. Well, in your html form action, all …

Member Avatar for baig772
0
193
Member Avatar for scorpionz

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 be maintaining the aspect ratio. Sage

Member Avatar for eidshow1
-1
2K
Member Avatar for daabomb2002

I still do not see a reason to want to hide the source code. I know plenty of people who have mentioned wanting to do this in the past and it's just silly. You want the user to see the way the site looks, but not be able to see …

Member Avatar for Arkinder
1
404
Member Avatar for winbach

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 this.id in your onclick event. since you know what the id is. Sage

Member Avatar for Bubbleboy
0
403
Member Avatar for sagedavis

Hi all, I am not sure where to start with this one really. I have built the template for my site but, having a few issues in trying to impliment certain things that have to happen. This site needs to have 3 types of user. I am using a generalization …

Member Avatar for neekworld
0
437
Member Avatar for sagedavis

Sometimes it's just something so simple. I have been racking my brain, searching the net, for, litterally, 6 hours. Looking to do the following. If the user puts "this phrase" into the form field, it will send to the database "this_phrase". Hours and hours of research, solutions using preg_replace with …

Member Avatar for bugmenot
0
806
Member Avatar for sagedavis

Hi all, as a web developer, I am working on cross browser usage. I know, I know, there are websites that take snap shots. The issue is a bit more indepth. I've got stuff that LOOKS alright in most browsers but don't exactly function properly (some javascript stuff, some dom …

Member Avatar for mittelgeek
0
153
Member Avatar for sagedavis

Hey all, I have a div tag in which is a basic place holder, calling CSS to clear some floats of previous div tags. They are currently being used like [code] <div id="clear"></div> [/code] Does my code validate better, or is it better practice to use [code] <div id="clear" /> …

Member Avatar for MidiMagic
0
339
Member Avatar for Zemfik

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 opensource technology, which means, there are an ilite type of people …

Member Avatar for msteudel
0
125
Member Avatar for bazwacky

You are using a lot of shorthand stuff, and it makes it hard for those of us who don't use it to read. [code] (!$_GET['start']) ? $start = 0 : $start = $_GET['start']; [/code] as an example. so for those who don't get what that is [code] if(!$_GET['start']) { $start …

Member Avatar for sagedavis
0
185
Member Avatar for maydhyam

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 you have made some changes between the first long code and now. It …

Member Avatar for maydhyam
0
172
Member Avatar for sagedavis

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 was hoping there was an easier way to deal …

0
78
Member Avatar for sukhy_1

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 information from these fields via javascript to php, this isn't impossible, it's just tricky... Your best bet is …

Member Avatar for Suomedia
0
153
Member Avatar for queenc

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 html items if you already have form tags outside of the scope of the php? …

Member Avatar for sagedavis
0
110
Member Avatar for sagedavis

I am banging my head against the wall here. I've tried everything that I can think of to get this to work. [code] class myData { function myStuff($sql){ $result = @mysql_query($sql,$connection) or die(mysql_error()); while ($row = mysql_fetch_array($result)) { $adId = $row['adId']; $adName = $row['adName']; $adData .= "my adId is $adId …

Member Avatar for sagedavis
0
142
Member Avatar for kishou
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 I keep a backup of a working one at all times now. Sage

Member Avatar for RoryGren
0
156
Member Avatar for rajivloharuka

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 you know what you want to replace it with. [url]http://us.php.net/manual/en/function.str-replace.php[/url] Sage

Member Avatar for sagedavis
0
190
Member Avatar for Scottmandoo

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, and what is it doing? Sage

Member Avatar for Scottmandoo
0
128
Member Avatar for miss_bismillah

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 to do all of this. Before displaying the content of your …

Member Avatar for sagedavis
0
124
Member Avatar for Traicey

I don't know how I found this but I did. [code] alert("Please select Advisor"); document.frmStudentInfo.lstF_ID.selectedIndex == 0; return false; } [/code] there is no "if" or "elsif" related to this line of code Sage

Member Avatar for Traicey
0
130
Member Avatar for Designer_101

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 might be the $count++ but I can't be …

Member Avatar for Designer_101
0
116
Member Avatar for LogicWeb

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 understand the "lag" you have to understand AJAX and what it is. …

Member Avatar for Dani
0
116
Member Avatar for juvincy

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 what is happening when you view the site? I mean, are …

Member Avatar for sagedavis
0
142
Member Avatar for sagedavis

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 netbeans (so far) is the best visual ide I have …

Member Avatar for jwenting
0
107
Member Avatar for sagedavis

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 having a slight issue. At times some of my stuff is chopped …

Member Avatar for sagedavis
0
106
Member Avatar for andrewcross

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. [code] RewriteEngine on RewriteRule ^([a-z0-9_]+)$ /$1/ [nc] RewriteRule ^([a-z0-9_]+)/?$ index.php?name=$1 [nc] RewriteCond %{HTTP_HOST} ^mydomain.com$ [OR] RewriteCond %{HTTP_HOST} ^www.mydomain.com$ RewriteRule ^/?$ http://www.mydomain.com/home [/code] Basically, …

Member Avatar for andrewcross
0
133
Member Avatar for sagedavis

I know, this is a weird question, but... I am working right now on an inherited project, and finding this quite a bit. [code] $objSomething -> $object [/code] I have had it explained to me that this is similar to the dot in javascript's [code] element.style [/code] This concept in …

Member Avatar for sagedavis
0
111
Member Avatar for jkdil33

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 the jre and your jar together, then run your jre then run …

Member Avatar for ahilan_23
0
1K
Member Avatar for brinze

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 here but can not give you exact java code. Step …

Member Avatar for wonder_laptop
0
162
Member Avatar for vedmack

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

Member Avatar for MidiMagic
0
2K
Member Avatar for dami06

um, [code] $this->_host = $host; $this->_user = $user; $this->_password = $password; $this->_database = $database; $this->_persistent = $persistent; [/code] Up top you have [code] private $_user = ''; private $_password = ''; private $_database = ''; private $_persistent = false; [/code] I'm assuming that your database information isn't even being called …

Member Avatar for dami06
0
180
Member Avatar for john_aa

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 sourceforge.net and find notepad++ or programmer's Notepad (right now I am more into the …

Member Avatar for sagedavis
0
124
Member Avatar for jtapp

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 identifying number which auto incraments and is a key, call it "id" or …

Member Avatar for sagedavis
0
93
Member Avatar for jiggaman82

you have given your checkboxes a name, and a value... Each check box needs to be referenced on your search.php page.... [code] $amenity9 = $_GET['amenity9']; $amenity10 = $_GET['amenity10']; [/code] Here $amenity9 should give you the value that is passed, if it is checked, it will pass the value itself... if …

Member Avatar for sagedavis
0
93
Member Avatar for madhav_2k

The way that I personally would be doing this is setting a "while" statement as my query result which would include what is in your "echo", and then echoing the result in the html body itself. The while statement itself means that you don't really have to deal with creating …

Member Avatar for squid44th
0
173
Member Avatar for dami06

The question is, do you actually get anything at all or do you just get a white screen? Or does the status bar continually act like it is trying to load for the whole time? with [code]error_reporting(0);[/code] if memory serves me correctly, this command actually turns off all levels of …

Member Avatar for dami06
0
134
Member Avatar for srinukatkam

If you show us your code, it might help to see where you went wrong, however, I will venture a quick uneducated guess. Somewhere you have an if statment that shows != which should have been == just a guess Sage

Member Avatar for sagedavis
0
56
Member Avatar for sagedavis

Hi all, I am sort of new to using vb for this sort of thing. I've built some simple database stuff, for stand alone (non web) applications. I am calling a website into this program using the browser tool. I assume that this actually uses only IE7 browser (or whatever). …

0
68
Member Avatar for sagedavis

I had no clue where to put this question. I know, I ask quite a few questions, but sometimes things get to bugging me and I need someone else to look at what mistakes I might have made and how. Here's the deal. In my website's root (public_html) I am …

0
73
Member Avatar for sagedavis

Hi all, At work, we are using prototype vs 1.5 (don't know the sub version off hand). I have been doing all of my development in firefox. The problem is almost 80% of our site's users use IE6 or IE7, and since they are on their company computers, they do …

Member Avatar for sagedavis
0
104
Member Avatar for OmniX

I agree with Dukane here. A captcha system is perfect for this type of thing. Also, if your site is the type that requires a user account for certain things, you should make the ability to message you only available to those users who are logged in Sage

Member Avatar for OmniX
0
94
Member Avatar for truckman

um, here's an untried theory: I am not sure if print screen is one of those buttons that can be accessed via DOM or not, but, if it is, you can force a white screen on key down, which would make their snapshot just be a blank white. But, of …

Member Avatar for sagedavis
0
80
Member Avatar for sagedavis

Hey all, over the years I got in the bad habit of ignoring firefox totally. I am currently working on a project at findacourt.com/test use the /test to get into my little sandbox area. At any rate, as you can see, there are several things going on here, both in …

Member Avatar for MidiMagic
0
144
Member Avatar for sagedavis

I am having a sort of an issue with something. I am writing a script where, the user inputs some information in a form, and based on that form, a new file is created. The file which is created will actually become a webpage of .php type. The problem I …

Member Avatar for sagedavis
0
118
Member Avatar for sagedavis

I am constructing survey page for a client, and it's getting extremely long winded. There are 290 questions and all are required. This means, typing out huge amounts of stuff, obviously, but, I was wondering if there was a sort of "easier" way to do this. This survey is one …

Member Avatar for ~s.o.s~
0
84
Member Avatar for sagedavis

Hey all, some of you know me from some of my earlier questions with my css stuff. I recently interviewed for a position for a company who uses ajax. All their AJAX stuff is already built, so, they aren't going to require me to mess with it much at first, …

0
65
Member Avatar for Taffd

I, for the most part, use the trifecta effect using css and html lists for my navigation bar. [url]http://www.search-this.com/website-design/css-rollover-buttons/[/url] has some information about it, but, I am not sure if there is a better tutorial on the subject. You can get it to work in all browsers with a couple …

Member Avatar for MidiMagic
0
182
Member Avatar for Acid Burn

Cleibesouza, looked at your source, you're using some AJAX... that's my next venture in web programming, and learning as we speak. Acid, when you call your frameset, they may need to be somewhat dynamic as well. For instance, you would call index.php?variable=name into the frame. Of course, this assumes the …

Member Avatar for Fungus1487
0
102
Member Avatar for sagedavis

Hi all, I am working on a project. On the php page, I am linking to a list of ip addresses which are already in my database. The url will be something like domain.com/view.php?ip=61.167.34.179 In view.php I have the following sql $connect = @mysql_query($sql,$connection) or die(mysql_error()); $sql = "SELECT * …

Member Avatar for sagedavis
0
156
Member Avatar for sagedavis

Hey all, I am working on a project which is very important to me. I am proicient in PHP, XHTML, MySql, and am pretty decent with XML. All the dynamic stuff such as, blog content, title and so on are easy enough for me to do, but, I want to …

0
56

The End.