minnieadkins
Members-
Content Count
307 -
Joined
-
Last visited
Everything posted by minnieadkins
-
Anyone looking for Gmail account Read if you dont have gmail already
minnieadkins replied to iGuest's topic in Software
PM me and I will gladly give a gmail invite as well. I have 97 left with no intentions of using them.Gmail is great and the ability to label and create filters is great. I never really understood how to sort my emails but with gmail it made things pretty simple and understandable. I like it, but there's a lot of email services out there. Maybe I'm missing out. All in all I think gmail is the way to go. -
I've seen that method somewhere before. I think it was 100freehosting or something. Although you could click to build up through the years. I had like 5 on reserver. Anyways, I can definately survive a few minutes of downtime from the site. It doesn't affect our hosting, which is rather nice. I tried to connect yesterday as well to catch up with some of my poinst and credits. So far so good. At least I'm not in the negative. All in all I found it rather funny to find that the account 'had been suspended'. At first I was like, 'What did I type in?'. So I tried it again, and the same thing.
-
I agree. Very simple. Not only that but the text looks bad. There's little dots where you reduced the file size for jpeg. If you want a good looking image try saving as a png.Look into tutorials. I like it. But maybe fade from an image on the left side (full image) to a light blue. Maybe a yellow bar with rounded edges and a little different font.Good job though. I'm telling you this from someone that can't do anything in PS, so I don't know if I'm telling you right lol. As was said before, you have to start somewhere.
-
Submiting Form Data To "file.php?action=login"
minnieadkins replied to nightfox1405241487's topic in Programming
The action of your form can have a query string if you're using post.I.E. <form name="SomeForm" action="Action.php?page=mainā©=en" method="POST">Login:<input type="text" name="user" value="" />Password:<input type="text" name="pwd" value="" /></form> I'm not what sure you're trying to do, or what you're actually talking about. But I think that's something similiar. Don't forget that you can change the action of your form at any time with the DOM. document.forms[0].aciton='somaction.php?foo=bar'; -
I've heard of a utility called PHP design. I honestly don't know what it is. But yes there's no GUI to help generate your code as some sort of WYSIWIG. If you think about it, it makes sense. In php you have to use logic, where as you just "mark-up" your html to show what you want. I use notepad++ as well but I've had a few problems out of blank space and indentions. Overall however you can't beat the price.PHP is parsed by the server so you can't just run it locally on your machine without something to parse it with. First a first time user I suggest installing a bundled webserver, php, and mysql package such as the one's mentioned here.
-
Eventually everything will be going to xml, which I have no idea how to do lol. I have a basic understanding of how it works, but never worked with it at all.As for xhtml, it's very similiar to HTML. It's just a little more strict. As stated above if you know HTML you'll probably find XHTML fairly easy to get into.
-
I agree include is great in PHP. Be careful how you use it however, there's a difference in 'include' and 'require'. You should like into those 2. That's how I do it and it works great for me. Either use include files for missing chunks of similiar html or make a standard include file and put functions in it to print out the html for you. Whatever you prefer.
-
Google Map Like Pins On Image Please helpe me regarding this.
minnieadkins replied to Zeeshan Hashmi's topic in Programming
To make an image clickable do this <img src="someImage.gif" style="cursor: pointer;" alt="this is an image" onclick="javascript_function();" /> As far as posititioning an image on top of another image, that would be tricky. I dont' work with this type of stuff so =/ the only thing I could say is use absolute positioning. I would think that would be the way to go about it. I hope someone has some insight on how to approach this. -
Just refreshed and already seen a post. If you want to get hosted here then I guess that could be an option, but if you ever want to move your site, or host it locally then you could download a script. Personally I went to hotscripts.com and searched for blog. Tons of results. Note some are free, but some you have to pay for. You could read the descriptions yourself and determine what's best for you. How many features you want, do you want it stored in a database or flat file system, is this for personal use...etc. I'm sure you have an idea of what kind of system you want. I can't recommend anything, but I find it best to go by the rating system of the peers and the descriptions on hotscripts. This particular script kinda jumped out at me though http://www.hotscripts.com/listing/blog-script-for-php/ Good luck with finding a blog script.
-
Counter Strike: Source What do you think?
minnieadkins replied to jimmy89's topic in Computer Gaming
I played Counter Strike for the first time about a month ago. I guess it was alright, but I kinda suck at it. I'm use to Quake 3 and fast FPS like that.I'd definately like to give CS:S a try because of the engine. I think it would be a lot better than half-life's engine. Those footsteps get on my nerves on Counter Strike. That whole buy thing is also hard to get use to.I plan on trying it, but it'll be at a later date. I'm always behind the times. -
I agree. Just look at a few examples and then create your own basic script to handle things. It might sound stupid but if you create something simple to deal with form variables and echo them back out might be a good start. There's so many functions in PHP that it'll take awhile to really get a good grasp on things. I still use references (which I don't know anyone that doesn't) to keep me on track with the functions. PHP.net is great, and I think I started learning PHP from htmlgoodies.com w3's site is a very good place to start learning.Having this free account at Xisto and experience of HTML and FTP will help you a lot compared to someone who is new and starting.Perhaps you can do a simple web-app then link us to it and show us what you accomplished. That way you'll have the motivation to continue, and you'll feel the support from the forums. The main thing is to have something that you realize won't be too complicated to create, then create it and improve on it. If you've never coded in anything before you should take a look at conditional states and loops. You'll be using those a lot.
-
I had access to my server yesterday around 7 or so, and while I was connected and creating ftp accounts it went back down. I'm just curious what's up. Last time I had an account here, once I populated the server with some files everything went over better, but how do I do that with the server being down?http://forums.xisto.com/no_longer_exists/
-
I would have to agree. I like banner 2, but to tell you the turth all of them (or most) are fairly good. I would honestly have to see it in place before jumping to conclusions. If you're going for a 100% width banner (of the page) I would recommend 2. Perhaps you could give a link to your site template so we could help a little better.Was just a suggestion. Btw great work on the banners.
-
I would think it would be common sense to use 2 ram sticks. I agree however that it seems logical just to get the biggest stick you could possibly find when upgrading, but there's advantages to having two sticks. I was unaware that only "certain" motherboards have this feature. Just seems like it should pertain to all motherboards.I believe I have an MSI motherboard and it supports dual channel as I have 2 512 sticks. I have no qualms.
-
I'm not much into those kinds of online stuff. I do have an account on Facebook but I haven't been to it in about a month. I went there a few times talking to one of my old high school buddies..that I roomed with, that I can visit any time. I'm kinda lazy that way, but other than that I'm just a lonely guy on Facebook. I think a person in my class was infected with this some how. Insane in my opinion. What will people think of next.
-
Steve Irwin, 44: Famed 'croc' Hunter
minnieadkins replied to xboxrulz1405241485's topic in Websites and Web Designing
That's sad. Some peole say he had it coming, but I mean I'm sure he was always prepared for the worst. This is just "freak" accident, which happens all the time. I for one will miss his crazy antics.He was quite spirited and motivated to pursue his dreams. He lived a good life. Just sucks he had to go out like that and leaving his family behind. -
I don't know where to put this, but I don't know if anyone has seen this either. I noticed a lot of post titles having this obviously there's a stripslashes() problem. Just thought I would run that by the folks here at Xisto.
-
Try this if you don't want to use php. I use this method a lot when dealing with forms. However it is not "foolproof", and if someone has javascript disabled it will not work. In other words, you shouldn't use it if you really need this to work for all of your users, but I like it myself. Perhaps both methods in action would be best. The php and the javascript. Use the Javascript if it's available, else use the PHP. <form name="broker" action="?" method="POST"> <select name="select" onchange="if(this.selectedIndex){this.form.action=this.options[this.selectedIndex].value;this.form.submit();}"> <option value="" selected>Select one below...</option> <option value="http://http://www.msn.com/de-de?rd=1&ucc=DE&dcc=DE&opt=0; <option value="http://yahoo.com/; </select><input type="submit" value="Choose"></form> In this case it submits automatically when selecting an option. Also note that I took off the name attribute of your submit button as it caused conflicts with the "this.form.submit()" function. If you want a quick explanation of the javascript's logic then it's if there is something selected then it will take the value of the selected field, put it as the action to the form, and submit the forum. As far as syntax go you should look into that yourself, but don't be afraid to ask questions.
-
I tried to quote your topic, but I keep getting an unknown page. It seems to happen to me a lot when using the quote options on Xisto. Anyways the best thing to do IMO opinion is to test your sql before you assume it's right. Basically the error is saying that $result, which is suppose to be holding the query handle is not right. Looking at your code, I do not see any place where you are connecting to a database. Perhaps you are including it, or it is above. If you don't have the statements to connect to the database then that could be your problem. $conn = mysql_connect(localhost, $User, $Pass);$dbh = mysql_select_db($Table, $conn);Replace those variables such as $User, $Pass, and $Table with the appropriate fields. If you do have this in your php file, test your query by outputting it to your screen after it's been parsed by the php, then copy and pasting it into an sql command line. Example: change the first few lines of code to this <?php // Query the Database$specific_value = 'Heating';$num_columns = 3;$QString = "SELECT * FROM table_products WHERE (cat='" . mysql_real_escape_string($specific_value) . "' AND sub_cat='fittings' ";echo "<PRE>$QString</PRE>";//debug statement, delete when done$result = mysql_query($QString) OR DIE('There is an error');$counter = 0; That way you can see your sql before it's executed, and see if you have any mistakes in it. Notice that I also added a die clause to the mysql_query function, so you won't reach the loop if the query does not succeed. It's always best to see if you have any results too before you try to loop through them. If you don't have any results you can just bypass that section of code, but that's another story. Hope this helps or at least gets you started in the right direction.
-
I know this is a little off topic, but since it is sorta in this topic, what's the difference in addslashes() and mysql_real_escape_string()
-
You're welcome. So I assume you have figured out the problem and understand the solution? The simple AND sub_cat='fittings' appended to your sql would do the trick.
-
We will have to know your database and how your tables are tied together unless you're only pulling from one table. See below if you're pulling from multiple tables. Does table_products have a sub_cat field, or is there an entire different table for sub category that's tied through some kind of foreign key? You can use the "AND" clase to seperate the different where statements you have. Example SELECT * FROM sometable WHERE cond1='one' AND cond2='two' You can also use the or clause and group your statements parenthetically. If it did have a sub_cat field you would change your query to $specific_value = 'Heating';$specific_sub_cat ='fittings';//Case sensitive, it might be Fittings I didn't know$num_columns = 3;$result = mysql_query("SELECT desc FROM table_products WHERE cat = '" . mysql_real_escape_string($specific_value) . "' AND sub_cat='". mysql_real_escape_string($specific_sub_cat)."'"); Personally I don't know why you are using mysql_real_escape_string(). I honestly never have used it. If you're inputting it statically I don't see the point in putting it in a variable then plugging it into your query. The same goes with the sub_cat variable. If you plan to have the user to choose which table, then that could become an issue. I don't know much about security risks, so I'll just go with what you have. Also I noticed you were pulling * in your query. So everything was being pulled which is more work for your database. In order to reduce the work it has to do you could simply pull the only field you want. I read above that you only want desc, so you could change it to pull only that field. Please reply and tell us the structure of your database if this is correct or whatever. If you're trying to pull from 2 tables then I will provide an example here to show you how I typically do it. There are different types of joins and you should do a little reading on which suits your needs. There's outter, inner, left outer etc etc. I just use the standard join which I think is inner, I'm not 100%. What this join does is it will pull from multiple tables if all conditions are met and there are records in ALL TABLES. If something doesn't exist in a table it returns null, so it's up to you on what join to use. Here's an example of joining multiple tables. We're assuming that we have 2 tables. One is 'users' and the other is 'account'. I know this is simple but it might be needed to understand the example. The user table has a userid field, and the Account table shares that field by having a foreign key (which would be part of a primary key). So you join on those 2 like fields. Example $Query="SELECT U.name, A.balance, A.lastpayment FROM users U JOIN account A ON U.userid=A.userid WHERE U.age > 23"; You can tell I used U for users and A for account. It just makes everything go a little smoother if you're trying to pull an item that both tables share. For example, if you tried to pull userid, without using the table Identifiers you would get an error because it wouldn't know where to pull it from. This might not help much so I'll just stop here, but if you have any questions I would be glad to "try" and help you. I'm new to php myself, but I've been programming a lot in it lately.
-
Nice, glad to see it's resolved. Good to see you posted all the fields in the database in the order they appear. That was the key. I personally do this while($row = mysql_fetch_assoc($qh)){echo $row['area_code'];} You could also join your tables together and have one query to do all your pulling for you rather than accessing the database three times.
-
I guess then next question is, where do you want this to be displayed? I do not know what index the field would be. I assume to will have to look in the database yourself and see what # field your area_code field is in the links table. Replace X with the position that your new area_code field is located at in your database. I assume this would work. For example if your fields are: ID NAME Link X would be 3 Throw this data cell in anywhere inside of your loop but after your first mysql_fetch_row function. If it is indeed in your links table then it will be using your $other_info array. <td> <?echo $other_info[X];?></td> If you have any problems then feel free to post.
-
I never used mysql_fetch_row. I always use an association or data object.Obviously you areLooping over the links tableThen Pulling from category table.Then pulling from sub_category table.The question is, where is your area code field located? In which table of the database. As far as using the mysql_fetch_row function, I'm not 100% on how the various fields in a row are indexed. I would assume by the order they appear in the DB. Correct me if I'm wrong there.