408 Posted Topics

Member Avatar for Ancient Dragon

Erm.. Yep! I did it, too. It goes by faster than you think. The real kicker is gonna be running disk cleanup on all the archived win7 stuff. :) Enjoy that. If you're a drinker, grab something tasty.

Member Avatar for master.ainorsoft
0
347
Member Avatar for SirMahlon
Member Avatar for wfray

How are you calling settdelete(trankey)? Also, you may want to check support for .ico as a valid image type in firefox... Also, in javascript: var String1 = "a" + " string"; is the same as var String2 = "a".concat(" string");

Member Avatar for wfray
0
346
Member Avatar for gsynr

You seem to be doing a post, but sending a get. Line 19 and 20, try: xmlhttp.open("POST", "inc/getTeh.php", true); xmlhttp.send("q="+str); unless you are in fact doing a get, in which case, change line 19 to: `xmlhttp.open("GET", "inc/getTeh.php?q="+str, true);` good luck! Ryan

Member Avatar for gsynr
0
175
Member Avatar for <M/>

That says, I believe, that in the database jstudent0, the table BOOK doesn't exist. Are you sure that's the table name? Is it BOOKS?

Member Avatar for ryantroop
0
318
Member Avatar for daniel.conlinjr.1

So what you are asking is, is there a way to check a networked SQL connection for status without having a network connection? Perhaps reword your question a little?

Member Avatar for ryantroop
0
96
Member Avatar for NuGG

Disclaimer: you made this into a mental exercise for me.. I think that all three below will give you the desired result. Anyone is welcome to correct me, especially on the last one... If I understand your rule (Im grasping here), you want the number of records from all the …

Member Avatar for ryantroop
0
268
Member Avatar for TheBludger

You can have PHP and HTML intermingle, so the form can post to the page that it is resident on, then simply re-render.. <?php //input.php if (isset($_POST['formdata'])) { //do some input cleaning/error checking/sql stuff here }; ?> <html> <head> <title>My page and form!</title> </head> <body> <form action="input.php" method="post"> <input type="text" …

Member Avatar for TheBludger
0
284
Member Avatar for Wendy_1

:-/ what is the problem you are facing? I assume home/search/1 is mod_rewite for a php page?

Member Avatar for ryantroop
0
140
Member Avatar for Dani

I also think that MSoft has done a great job in protecting its OS/systems as of late, and people have also become more aware of what they shouldnt be opening or downloading, or clicking... Also, everyone who gets viruses generally has a nerd friend who they lean on for help. …

Member Avatar for mike_2000_17
0
202
Member Avatar for ryantroop

So... had a bit of trouble logging in with IE11 (32 and 64 bit) on windows 8.1 pro. Even tried spoofing UAS and changing the compatability modes. There were no script errors, and the "information" in the console for FB and g+ are no different than the ones I safely …

Member Avatar for ryantroop
0
349
Member Avatar for davidjennings

If I understand the question correctly, I believe you are trying to use PHP as an intermediary between two systems. If that is the case, this may help: http://forums.devshed.com/php-development-5/help-using-fopen-and-fwrite-with-a-url-53394.html

Member Avatar for davidjennings
0
492
Member Avatar for ms061210

the "placeholder" attribute (while not supported in all browsers) is a fancy way of giving a "hint" to the user as to what is supposed to go into the field. A place holder is usually something like "First Name" or "Phone Number" so when the user clicks the field, they …

Member Avatar for aravinda.dani
0
271
Member Avatar for vipula

Line 20 says action='search.php' where your script Name for the processing page seems to be Update.php Try changing it and see if that helps.

Member Avatar for minitauros
0
272
Member Avatar for ryantroop

While it may certainly seem "lazy" I spend a large portion of my time in javascript and I like the syntax for arrays. I cant seem to figure out if I can "prototype" the array "object" and give it methods that simply returns the appropriate function: i.e. $aMyArr = array(); …

Member Avatar for pritaeas
0
456
Member Avatar for RikTelner

The only way I can think of doing it is to submit a file (via ajax or iframe) and then the callback or whatever method you prefer sets the value of a variable. Javascript is abstracted from the OS/File System for security reasons. The user needs to "give" you the …

Member Avatar for Troy III
0
363
Member Avatar for mmcdonald

I don't know how to do it in JQuery, but the XMLHTTPObject has an abort method. Im sure you can look into jquery's version of that method. Also, look into using the Date() object to get a random number instead of Math.random() as it's possible (however unlikely) that you get …

Member Avatar for mmcdonald
0
188
Member Avatar for NA7KR

function onLoad() { makeDisable(); } <body onload="onLoad();"> ... </body> Should do the trick... Ryan

Member Avatar for NA7KR
0
284
Member Avatar for mihir.driftking

the two mentioned here (for php) are quite well done. http://stackoverflow.com/questions/6019139/php-socket-tutorials

Member Avatar for ryantroop
0
79
Member Avatar for Amoryethel

parseInt and parseFloat does not guarantee a number. If either of those return undefined and you do any arithmetic on it, you will get NaN. You have here a product of bad code design. declare your variables. check them for values after assigning them. Then do math. ex: var fVal; …

Member Avatar for ryantroop
0
260
Member Avatar for eduardar

Im not very good with JQuery, but Im guessing it's this fine feller: $(document).ready(function(){ //This keeps track of the slideshow's current location var current_panel = 1; //Controlling the duration of animation by variable will simplify changes var animation_duration = 2500; $.timer(6000, function (timer) { //Determine the current location, and transition …

Member Avatar for eduardar
0
223
Member Avatar for erminasrcutp

are you sure that id is a column in the myaduan table? is it upper cased? ID? is it rowID? Also, I would encourage you to sanitize your data before inserting it into your database. <?php include'e.php'; if(!isset($_POST['submit'])) //this is confusing { $id = mysql_real_escape_string($_GET[id]); //since the data you seem …

Member Avatar for rpv_sen
0
209
Member Avatar for gahhon

you can use javascript and check the inputElem.value.length > 0 you can use PHP to check isset($_POST['pw']); //validates false if empty lastly, you can use ^$ to match an empty string... I hope that helps... Ryan

Member Avatar for gahhon
0
100
Member Avatar for kanoy83

interesting cereal... I get that you are doing that because they would validate, but wouldnt this require that it compares each record by hashing (and reading, anyway) it in order to compare? How would hashing the string be faster than simply checking if the string is the same, especially when …

Member Avatar for kanoy83
0
3K
Member Avatar for narasimha9
Member Avatar for jeromerpg11

I hated ODBC on PHP with GoDaddy's windows servers, so much in fact that I abandoned it even after I got it working. This worked for me, I am assuming it will be a starting point for you. If not, I appologize for wasting your time. PHP5 has spotty support …

Member Avatar for ryantroop
0
132
Member Avatar for nyuszi

only thing I can think of is that cellak does not contain any elements, and since you are starting at 1 you are essentially doing: null.getAttribute("id"); I don't know why you are doing it that way anyhow since id is a directly accessable property. edit: alternately, since you initially did …

Member Avatar for ryantroop
0
1K
Member Avatar for dark_falzar

I took the O'Rielly classes for Python and I loved them. The guy I worked with was amazing, easy going, and was very open to discussion. In fact, I learned quite a bit from him. The down side is that it's a "pay to learn" service. The upside is that …

Member Avatar for ryantroop
0
336
Member Avatar for Burhan_1

the other option is to simply submit the page to the URL you want to move to and use POST as the method instead of a GET. If you plan on allowing bookmarking, then I can see the issue... otherwise: <form method="POST" action="/search/whatever.html"> <input type="text" name="myVar" value="" /> <input type="submit" …

Member Avatar for diafol
0
759
Member Avatar for sarolin
Re: Ajax

Your "question" is very confusing. Are you looking for AJAX only website examples? A specific problem you are trying to tackle with AJAX? Please clarify. Thanks, Ryan

Member Avatar for sarolin
0
92
Member Avatar for chrisschristou

empty is a function to check the state of a variable. you can use it as such: <?php if (empty($_SESSION['MM_Username'])) { echo ("<h4>please log in before adding to BASKET</h4>"); } </php> see: http://php.net/manual/en/function.empty.php however, most people use isset() instead of empty, as it checks for a variable being NULL as …

Member Avatar for chrisschristou
0
199
Member Avatar for kinbo

Is this for a class? I would assume that you have guidelines for what is expected. If not, feel free to ask your teacher :/

Member Avatar for ryantroop
0
66
Member Avatar for suresh.govindula

so... soap box moment... using flash as your only method of displaying information is probably not a good idea. While it is now pretty much all over the place, I know for a fact windows phones will cause you problem, and Im pretty sure iOS may cause you some grief …

Member Avatar for ryantroop
0
153
Member Avatar for arifkutty

Heh.. welcome to the world of "stored" values and URL management. Since you are doing a GET (or a POST), the value gets stored in the URL. When you refresh the page, you are basically resending the URL with the parameters still in place. So, your session variable (where you …

Member Avatar for arifkutty
0
1K
Member Avatar for davy_yg

That would likely be the HUGE margin from the media query. Your CSS is a little broken. I would encourage you to revisit it, and rethink the use of media queries if you can. Start simple and get the site working on a PC as you need, then worry about …

Member Avatar for diafol
0
90
Member Avatar for yaragalla_mural

Without a working model and an actual step by step view of what you are doing, this is hard to figure out what exactly is going on. If you are saying that you fill out a form that posts to a new page, then after the post you hit the …

Member Avatar for yaragalla_mural
0
220
Member Avatar for NewHeart42108

well.. couple things... without knowing how you make $opt_count, Im gonna make a wild assumption that you are going to be missing an item as arrays start at 0, and you are starting $i at 1 (so your first item will be missing. If that's expected then ignore this). As …

Member Avatar for ryantroop
0
257
Member Avatar for kurianjoseph

I work in a microsoft shop, and I can't sing praises for visual studio express enough. Some people don't like it, but it's super simple in my humble opinion. As for books... html and css is pretty repetitive... so the books you got are getting you in the right direction. …

Member Avatar for naina125
0
137
Member Avatar for iLikePHP

So... what you seem to have just asked is "How do I make a premium membership for a service that emails me when my server goes down using php and paypal." Im going to assume, then, that you are instead asking how to use paypal to accept payments using PHP. …

Member Avatar for ryantroop
1
415
Member Avatar for laura301019

By the sound of it... you seem to know the answer... Yes. Use an HTML table. Use CSS to style it. If you really want to do something off the wall wonky, you can use DIVs and all the other HTML dohickeys and make it look all pretty.... Maybe ask …

Member Avatar for cmps
0
170
Member Avatar for umandajayo

looks like line 14 has an extra comma... erm.. of the output php (server 2 ajax.php). ... 'web' => 'http://jonemaxtest.com', );

Member Avatar for ryantroop
0
342
Member Avatar for donedeal

There is no single answer for this... It all depends on what you are doing... If you are making a web-app that is hosted on the device: use JAVA for android, but you will then need to port over to iOS and C/C# If you are doing a web-app, performance …

Member Avatar for irum niazi
0
341
Member Avatar for tibormarias

just because you output JSON from your PHP code it does not mean the variable will automagically evaluate to JSON Object notation. It is, as far as I know, still just a string. It needs to be parsed or evaled. You can, before loading, run an AJAX script and eval …

Member Avatar for ryantroop
0
206
Member Avatar for frankenfrank

***My take*** in a nut shell: There are certain camps in programming -- those who like complete control, and those who don't mind trusting others to do some of the annoying work. C/C++ --> Meant to be compiled. You are forced to do memory management. It runs very close to …

Member Avatar for vegaseat
0
425
Member Avatar for phani1092

select e.employee_id --get the ids from employees e --from employees table aliased as e where ( --begin sub query... select count(*) --get the total number of rows from employees f --from employees table aliased as f where f.employee_id < e.employee_id -- where.. I believe this will return n-1 results where …

Member Avatar for phani1092
0
147
Member Avatar for ncis_sg1

You are very likely going to be ignored as this is a "do this for me" "question" as opposed to you trying it first and getting help when you get stuck. The purpose of the classes you are taking is to apply what you have learned... These are pretty straight …

Member Avatar for ryantroop
0
404
Member Avatar for ryantroop

Im working through sprocs with MySQL and I came across something that made me quite uncertain... I learned sprocs with MSSQL and I am used to declaring as such: create ... myProc (@var type, @var2 type(xxx)) as .... and for declares, we declare vars as declare @var3 type(xxx), @var 4 …

Member Avatar for ryantroop
0
305
Member Avatar for jelly46

heh.. Im guessing your problem starts on line 31 and ends on line 65... why are you doing a self-executing function before the window has loaded? I get it's top down, but you're defining and running code as it's being read. You're not getting very much speed boost by doing …

Member Avatar for jelly46
0
270
Member Avatar for ryantroop

/* also, read the edit */ So... after painful MySQLi intro to working with MySQL Stored procedures... I have come to the conclusion that the only good way to pass variable length binds is to use eval() Is this a poor choice? The way I am using it is: $Conn …

Member Avatar for ryantroop
0
209
Member Avatar for A0110

Im pretty sure this is what you are looking for... http://www.microsoft.com/en-us/download/details.aspx?id=36843 This will allow T-SQL editing, and allow you to hook up and browse a database. If youre trying to connect to a MySQL server, you will need to download the mysql tools, but the TSQL editor does not work …

Member Avatar for ryantroop
0
92

The End.