160 Posted Topics
![]() | Re: Just style the table with margin:auto; |
I was just curious if this is just me or what but it's extremely annoying. I have installed Apache2 and PHP on my Linux Mint 14.1 Cinnamon machine fine, but when I use `apt-get install mysql-server` (as super user), this happens. Reading package lists... Done Building dependency tree Reading state … | |
Hello! For me everything in a form as to be straight so I have labels and the input boxes (specifically text) in a table. So here is my code (example): <table> <tr><td>Username:</td><td><input type="text"></td><td><i>How you will be known to other users</i> (18 characters max, 3 min)</td></tr> <tr><td>E-Mail:</td><td><input type="text"></td><td><i>Used for account verification … | |
Re: Line 7 `$select = 'mysqli_query("SELECT * FROM categories")';` Why do you have the mysqli_query function itself in quotes? ![]() | |
Hello, I have been writing code for someone, specifically making modifications to a user control panel. The client sent me the decrypted version of the code to make changes to. I assume he bought the software as he asked me to make the changes and he didn't himself, but what … | |
Re: # PHP, ignore. # I'm SORRY I did it again! I see something like this on the homepage and assume it's php, and it's asp.net... I apologize, I will try to find something though. You could try the `exec()` function to execute a command to do such. exec('mysqldump --user=... --password=... … | |
Hello! I am modifying a user panel for someone, I have been asked to center an element on the page. It is assigned with the class "joins" i've looked through all of the css files and I can't seem to find where it is styled. is there someway i can … | |
Hello! I'm in need of a quick $9 for a domain that I need to purchase quickly as it is perfect for the webservice I am planning. I have a paypal, write tons of php,javascript,html,css was just wondering where and how I could possibly make around $10 this weekend? Is … | |
Re: ____ ____ ______ __ __ .__ __. ___________ ____ _______ .______ _______. ___ __ _______ .______ __ .__ __. _______ \ \ / / / __ \ | | | | | \ | | | ____\ \ / / | ____|| _ \ / | / \ | | … | |
Re: I'm sorry but I have absolutely no clue what you just asked, are you trying to transfer a PDF to android device or something? | |
Re: Let me just name a few free forum softwares off the top of my head, MyBB, PHPBB, Phorum, FluxBB, miniBB, Vanilla Forums, and thats just a few. ![]() | |
Re: Diafol is correct, before its stored use nl2br as such nl2br($string); | |
Re: ==IGNORE== Well this is what I would do. $file = file_get_contents("http://website.com/thepage"); $div = preg_match('#<div id="id">(.*)</div>#',$file); echo $div; With a regular expression it's quite simple. That should work, if not sorry it's my best guess. ==SORRY== OH I'm sorry, I saw this on the homepage and just realised this is ASP … | |
Re: I don't even really know Assembly but I think you should ask a question in your post, not just post random code. | |
Hello! I'm working on a profile page, I already have the first get variable redirect working so it goes from mywebsite.com/u/?u=username to mywebsite.com/u/username, as an example. But I want to pass a second parameter as such: mywebsite.com/u/username/about for example. So I wrote (more like mashed a bunch of scavenged code … ![]() | |
Re: @TroyIII Yes but thats IE10. ![]() | |
Re: This should be in te c++ section but i will try to answer. So you want to build ab interfece in html? Maybe try fetching the source of the webkit project (render engine used in safari and chrome) ad maybe use that as your render engine? Im not very experienced … | |
Re: Sessions are way more safe. Although it creates a cookie, all thats stored in the cookie is a hash for the server to recognize with it's locally stored data. When a session is created it's all the information is stored server side and the user is recognized by the hash … ![]() | |
Re: There aren't many tricks, you just have to deal with it really unless you are using a framework of the sorts which normally support all major browsers. Firefox is mostly up to speed so normally everything for chrome and firefox will work fine, the only problem with Opera is some … | |
Re: `window.location=("http://mypage.com/?data=position.coords.latitude + '_' + position.coords.longitude");` It's because u put it in quotation marks as a string. Change it to `window.location=("http://mypage.com/?data=" + position.coords.latitude + "_" + position.coords.longitude);` That should do it. | |
Re: I somewhat understand what you are asking I think. For example if you have a button, and when it's clicked it writes a file. The act of writing the file doesn't require another activity to be displayed, you would just have a event that fires in the current activity to … | |
Not exactly like googles of course but it looks nice and will get the job done. So first thing of course is the standard HTML document layout. In the header I placed script and style tags since it's a simple project. It is generally good practice to link to other … | |
Re: I'm not a java person, I don't use it but I can suggest to first try to print out your input to see what it is, maybe trim whitespace? Just some suggestions. | |
Re: I see alot of random threads like thisthis quite annoying and confusing if you ask me. | |
Hello! Me and a friend are working on a website (We have for months) we have tons of functionality working, it's just we are never happy with the look of the site which is of course one of the most important parts. It seems like everytime we redesign things we … | |
Re: I don't understand what you are trying to do. If you just need to display a specific date just echo it out as a string... | |
Re: We prefer questions to be formulated and posted as questions, not just a phrase... Maybe explain a bit, or Google search your question...? | |
Re: Printing odd numbers? Shouldn't really be that hard. $num = 1; do { echo $num.'<br />'; $num = $num+2; } while ($num < 100); Quite easy, just change the 100 to how far you want it to go. ![]() | |
Re: No one said you couldn't use dropbox. Just place it in the public directory in your dropbox account and it should work fine, it won't be exactly a nice looking URL but it will work. | |
Re: Ok as far as I know there isn't a address input type, do you mean url input type? When you define address at the top you need to set it to `$_POST['address']` not just itself. That should fix your issue. --Edit-- Add the attribute method to your form and set … | |
Hello! I'm creating a larger scale application in PHP and i'm using a .ini file to store some configuration for the user, quite easy to fetch data with the parse_ini_file function (returns array) but how would I write to a ini file, or the most convienient way to do so. … | |
Re: This is something you could have easily Researched yourself but i can sum it up. PHP is a cross platform server scripting language. Object oriented is optional. | |
Hello! Currently I am making an application in C#.NET with tabs, I have all of the functionality down it's just the look of them... I was interested in how this guy: http://www.youtube.com/watch?v=WWxUPuSkwNs (skip to 4:00) got his tabs to look like that. Those styled tabs are also in Notepad++ (I … | |
Re: Or you could slap some <code></code> tags around it. | |
Re: This happened to me once, this is what I did. Assuming you are on windows, as soon as you see the manufacterer logo, spam the F8 key, windows advanced startup options should appear, key down with the arrow keys and hit enter on "Last known good configuration". Probably a windows … | |
Re: `require_once './admin/actions/precheck.php';` make that `require_once '/admin/actions/precheck.php';` (remove the .) | |
Hello! I'm creating a simple markup type thing with a XML reader to edit the properties of this window and at some point add components to it. I had it working, but had a few issues since it wasn't originally a WinForms project, didn't have looping working right, so I … | |
Re: <div class="stickyFooter">This text should stay at the bottom of the screen.</div> .stickyFooter{ position:fixed; width:100%; bottom:0; } That text stays fixed at the bottom of the screen. | |
Re: Well it appears you never set a value to `name` so I'm guessing thats why that node is empty... | |
Hello! I'm creating a small little applications (command line type thing, got some ideas) and I was wondering how exactly I would portray loading of the sorts, I know the classic animation: -- \ | / -- I just wanted to know how to animate that in Javascript. Just change … | |
Hello! I'm working on a simple messaging system for a project and I have this query and it isn't working for some odd reason, here it is: mysql_query("INSERT INTO messages SET user='$user', message='$msg', date='$date', to='$id', private='$checked' ") Here is my error: You have an error in your SQL syntax; check … | |
Hello! This is the most annoying thing to me, I need redirections with Javascript often but `window.location` Doesn't work in chrome? I could swear it used to because I have just noticed this problem. Here is what I do `window.location = "http://mywebsite.com";` Works in Firefox, but not chrome? (I don't … | |
Re: If you are speaking of the shadow on the corners (the only place I notice it), it appears to be oworking on both pages for me, if your using chrome clear your cache then try. | |
Hello! On my registration form I ask for a username and I only want a letters,numbers and underscores(_) in the username. How would I go about checking that? Thanks for any help! | |
Hello! Me and my friend are developing a website, it's being hosted on [1freehosting](http://1freehosting.com) until we finish it (as we dont want to be paying so much money for an unfinished product). since monday the server has been down or something and I can't access the webpage, we have had … | |
Re: When you click the button you could create a iFrame with Javascript and display:none; in css, that would download right on the page. | |
Re: Notepad++ would be way more lightweight of an editor. | |
Hello! I'm creating a application that involves the tree view, i have this method being called: public void openproject() { XmlDocument reader = new XmlDocument(); reader.Load("EWProjects/" + projectName + "/" + projectName + ".ebw"); projectName = reader.SelectSingleNode("Project/ProjectName").InnerText; addNode(); } It reads the title of a 'project' from an XML file … | |
Re: $variableName = mysql_error($connection); if you don't specify your connection it will just use the last one opened. |
The End.