194 Posted Topics
Re: Get yourself abyss web server, php5 and mysql server, all free, all installed on your pc, and you can buld, ammend, and change *proper* websites to your hearts content, without having to bother with a free, or paid server 'till you are ready. | |
Re: Friend: What's the time? Programmer: Now(); Friend:Another beer? Programmer: if(empty(glass){ answer='yes please'; }else{ answer='no thanks'; | |
Re: I think the `'',` at the beginning of `VALUES` need'nt be there. | |
Re: Line 9 has no closing </option> and the whole thing should surely be in a <form>...</form> for any data to be $_POST ed | |
Re: It's simple. Nested divs with different background colors. <div class='back'> <div class='next'> <div class='inner'> </div> </div> </div> <style type='text/css'> .back{ width:100%; height:100% background-color:#CECECE;} .next{width:80%; height:80%; background-color:#CDCDCD;} .inner{width:80%; height:80%; background-color:#FFFFFF;} </style> Like so.... | |
Re: $sqlstr = "UPDATE gallery SET productname='".$productname."', image='".$location."', description='".$description."', urlimages='".$urlimages."' WHERE id=".$_REQUEST['id']; You are making heavy work of this, and it's hard to understand, and there is a" missing at the end. $request=$_REQUEST['id']; $sqlstr = "UPDATE gallery SET productname='$productname', image='$location', description='$description', urlimages='$urlimages' WHERE id='$request' "; would work better for me, and … | |
Re: Well JorgeM and LastMitch, you really impressed me, I assumed that you were both time served programmers in php html css etc. by your answers. I think I've improved a lot since using Daniweb often, I don't work in the job, I'm a hobbyist, I just like to write things … | |
Re: To my mind, and the one I keep coming back to, after having tried others, is Paint Shop Pro. | |
Re: This from w3 schools > The <nav> tag is supported in Internet Explorer 9, Firefox, Opera, Chrome, and Safari. So if you're on -IE8 it won't work. also it appears from my reading that some browsers mis-render if there is whitespace between the <li> tags. See [here](http://robertnyman.com/2010/02/24/css-display-inline-block-why-it-rocks-and-why-it-sucks/ ) | |
I've just been playing this morning with some css3 stuff, and realised (I know I'm behind the times on this) what total Cr\*p a certain well distributed browser is! Not only do we have to add lines and lines of code to our css because the thing has it's own … | |
Re: Totally agree Squidge, I don't know why they even have blob anymore, total pain.... | |
Re: It's working fine now, so it appears to be solved, please mark it so. | |
Re: I have trouble understanding your markup. you have this <li class=”last-nav-list-item nav-list-item”> which makes no sense, probably a typo, and you have no ***class*** in your css, only ID's. Take the form out of the ul and put it in its own div `<div class="search"><form etc...></div>` and put in your … | |
Re: For every negative, Grimjack, there is a positive, and the same can be said of politicians the world over. Truth is, she took a country that was heading into a major depression, being in the stranglehold of short-sighted gimme,gimme,gimme unionists like Arthur Scargill, and turned it around. Yes some people … | |
Re: [Here](http://www.handy-html.com/simple-css-dropdown-menu-updated/) is a simple, easy to modify with css one, or google 'css drop down menu' | |
![]() | Re: I keep looking at OOP, and PDO, and then bottle out, and continue procedural. I find it more difficult to retain anything as I'm getting older. Learning greek for me is a pain too, coz I keep forgetting what I learned yesterday! At least with the php I can refer … |
Re: You can, perhaps write a function to display/run files after extraction using something like an include or similar, but you will need to check permissions on the server. It's one thing to get it working on your dev machine where you have all permissions but as pointed out by jwenting, … | |
Re: I suppose we're lucky here on Cyprus, there's crime, and some violent crime, but not nearly as much as the rest of Europe, or the Americas. It was explained to me, by a policeman friend. This is a small island. The indigenous people have lived village like for generations, and … | |
Re: 24 years ago when my 7 year old son was given the all-clear from cancer, best day of my life. He's 31 now, and bigger than me! | |
Re: Then when administrator updates the image, he must also update, or change the description. I see from one of your other posts that you are familliar with CKEditor, you can use that for the admin. | |
Re: > $sql="select rollno from studentlogin where sloginid=".$loginid; You dont have a column 'sloginid' in dbase shown, so you get above error. | |
Re: The problem with absolute positioning by pixels, is exactly what you are experiencing, if the browser is re-sized, or the site is viewed on a different size screen, the element is still, in this case, 280pixels from the left, and 290pixels from the top. Try using percentage positioning i.e left:80%; … | |
Re: If you get the mysqli msi package, it's simlicity itself, assuming you're on windows of course. | |
Re: Unfortunately, using 'live' editors is not learning html, to do that you need to start from *very* basics, don't try running before you can walk, google 'html beginner tutorials' If you need a quick fix, try [wix.com](http://www.wix.com), you should be able to do all you need there with the minimum … | |
Re: Check that hostname, I've never had a 'live' host (either paid or free) where I was able to use 'localhost', the ones I used have remote servers for mysql, so have a different hostname from your site. | |
Re: So: 1/ user fills form and submits. 2/ Insert to db, send boss e-mail with link to view and ammend/comment on form, and update db. 3/ boss sends e-mail to quality team with link to view and comment, and update db, 4/ ad infinitum if required.... Don't send the form, … | |
Re: Personally, I'd use only html, css, php and mysql, I'm biased because they are the languages I know, but they are reasonably easy to learn and forums etc are plentiful. ![]() | |
Re: GWBasic in '84, then a big break till '92 and HTML, CSS and PHP. ![]() | |
Re: Don't rise to it <m/>, surely you can see that it's some kind of sicko humour, with the > I just heard that one of the people who died was an 80 year old. He was going to see his dad after the race, but sadly he coudn't | |
Re: As a smoker for about 45 years of about 60gm a week of handroll, I'm finding it extremly difficult to give up, but I have to, doctors orders. I had a mild stroke about two months ago, no lasting damage thankfully, but it does make you aware of your mortality, … | |
Re: Like broj1 says, if you don't have ob_end_flush() at the last line the script is just hanging, waiting for the starting gun. And as yy886 says > comment out line 38 and put a session_start(); at the top and then put a echo $_SESSION['username']; below line 38. > don't do … | |
Re: I may be being dense here, but there is no sense in this post. The first code is extremely difficult to read, because it has no indentation, like trying to read a book with no punctuation, and the 2nd 'script' is complete non-sense. Is there a question here? | |
Re: I lost my Father to a heart attack 43 years ago and still think about him almost every day and miss him always, my dear Mother was on Dialysis for 12 years, and never recovered from a simple operation to move a vein, one that she'd had many times before. … | |
Re: I made it to the last day, some achievement for me, trust me. Shame was I lost quite a few little earners there, you could buy and sell almost anything. Cigs were a good earner, but matches were worth more, and a lighter, wow! | |
Re: I think this is a JavaScript question, also, the label tags are wrong and nothing will work if it's not within <form></form> tags | |
Re: Read the numbers, guys, unless my math is out, the allocated memory is six times the required, must be a problem somewhere else. We need the code at least, and some server details. | |
Just heard you lucky lot accross the pond are to be treated to some *real* sport next season with NBC and NBC Sports showing all the UK Premiership Football next season, time for you to watch some real skills. | |
Re: > the second one is that you are using mysql_fetch_array that is deprecated and really bad practice many-many years now , Bit misleading there i fear, not only is mysql still in use and **not** deprecated AFAIK, it's not likely to be either, although it's recommended to use PDO with … | |
Re: OMG! I'm so *slow!* It took me *ages* to get used to windows 7 when I was gifted a pc with it installed by a returning home ex-pat (previously an XP fanatic), now I have to think about *another* OS!......Where will it all end?....... | |
Re: Sorta... click on 'change image' link-> opens page of thumbs-> click on thumb-> updates db table to link to pic to show with portfolio. | |
Re: Google 'classified script free'..... pages of them. | |
Re: Mr akkbkht, please don't hijack other peoples threads, you are unlikely to get a reply, start your own thread if you cannot find your answer by searching. | |
Re: What kind of monitor, tft, lcd, how old, what make etc, I have had problems with one that turned out to be the graphics card and not the monitor at all. | |
On an idle Sunday afternoon, I came accross an article about not showing the animation at the Windows start, and followed the instruction to Control Panel -> Administrative Tools -> System Configuration ->Boot tab. I clicked the No GUI Boot box and re-started. True enough no animation, but no quicker, … | |
Re: Can you post the query? It's a bit difficult to answer without seeing it. | |
Re: Maybe I'm the strange one, but I always put php tags at top and bottom, and echo out all of the html, in a block, and only use single quotes. That way I always know where I am. I even use single quotes as standard if I'm writing html, with … | |
Re: echo(" <td><center><input type= 'checkbox' name='selected[prof_id]' value= 'false' id='checkbox1' /> </td>"); this line seems to be sending an empty value maybe... echo(" <td><center><input type= 'checkbox' name='".$results['prof_id']."' value= '".$results['prof_id']."' id='checkbox1' /> </td>"); will send the name/value pair that you want to delconfirm.php | |
Re: Most times by the time I get home from work I'm too lazy/tired/drunk (!all of the above!) to even bother to take the coat off, let alone hang and button/zip it! fortunately, living in Cyprus, I rarely have to wear one! | |
Re: Also single quotes around $year AS category FROM award WHERE HonoringYear='$year'"; (also, makes easier reading if you capitalise ) | |
Re: Why *not* just put it in a subfolder? It's not like it'll slow things down or anything. |
The End.