- Strength to Increase Rep
- +7
- Strength to Decrease Rep
- -1
- Upvotes Received
- 34
- Posts with Upvotes
- 28
- Upvoting Members
- 25
- Downvotes Received
- 6
- Posts with Downvotes
- 5
- Downvoting Members
- 4
IT Manager, Project Manager, Web Developer
- PC Specs
- Intel i7-3770, 16GB RAM, ATI HD7870, Windows 8.1 64-bit
172 Posted Topics
Hi guys, I'm having a weird problem regarding the simple ListView. On my emulator everything is allright and the data is loaded correctly from JSON API, the data also loads on my device. The problem is that on my emulator, the listview is populated but on my real device, not, … | |
Re: You could use the Google Business Apps for this solution. | |
![]() | Re: Mine is PHPEd from NuSphere, amazing product, it's not free but it's worth the money. Code suggestion is not case sensitive, great syntax highlighting, framework support, etc. |
Re: This is weird, could you show us the console please? | |
Hi guys, I've made an application in JavaFX and I do want to export it into a runnable jar. When I run it from Eclipse or Netbeans, it works well. But when I run it from windows as an executable jar I get this error for my layout. Exception in … | |
Re: You are trying to redeclare the locale class in a file of yours. | |
Re: This might help you alot: [Click Here](http://lmgtfy.com/?q=how+to+create+an+image+gallery+with+php+and+mysql) | |
Re: It would be much easier to use the PDO class for MySQL queries. Also, try to make a rule for your case typing on your Variables. Try this, first create your PDO server connection as $connection $customer_id = $_POST[Customer_ID]; $first_post = $_POST[First_Post]; $sur_name = $_POST[Sur_Name]; $cus_address = $_POST[Cus_Address]; $phone_num = … | |
Re: I am using mpdf for example and it works just great. My aproach is that every time a customer request a document it's get generated on the fly and it's pushed to download via a header function. | |
Re: //Try this <select name='price' id='price'> <option <?=((isset($_POST['price']) && $_POST['price'] == '')?'SELECTED="SELECTED"':'')?> value='' >Select....</option> <option <?=((isset($_POST['price']) && $_POST['price'] == '0-50,000')?'SELECTED="SELECTED"':'')?> value='0-50,000'>0-50,000</option> <option <?=((isset($_POST['price']) && $_POST['price'] == '50,000-100,000')?'SELECTED="SELECTED"':'')?> value='50,000-100,000'>50,000-100,000</option> <option <?=((isset($_POST['price']) && $_POST['price'] == '100,000-150,000')?'SELECTED="SELECTED"':'')?> value='100,000-150,000'>100,000-150,000</option> <option <?=((isset($_POST['price']) && $_POST['price'] == '150,000-200,000')?'SELECTED="SELECTED"':'')?> value='150,000-200,000'>150,000-200,000</option> <option <?=((isset($_POST['price']) && $_POST['price'] == '200,000 and above')?'SELECTED="SELECTED"':'')?> value='200,000 … | |
Hi guys, I have one simple logical question that I seem not to figure it out, sadly... We have a list of objects and I loop trough them, list of products. We need to create anchor maps for each category, so I did a comparison with temp variables to check … | |
Re: You have to assign the checkbox also an array to the name `target[]` and then you will have to parse over `$_GET['target']` with different methods. You can use `$elements = count($_GET['target']);` if($elements > 0) { for($i = 0; $i <= $elements; $i++) { echo $_GET['target'][$i].'-'.$_GET['os'][$i]; } } In this way … | |
Hey guys, I have this script that does count one year of files, 2014, but when it comes to this year, everything messes up. How could I count properly for each year in the same script ? In the attached screenshot it's obvious that I would only need 2014 - … | |
Hi guys, I have this weird .htaccess rule that is used for a dropdown search engine RewriteRule ^([^/]+)/([^/]+)/([^/]+)/([^/]+) index.php?bla1=$1&bla2=$2... and so on [L] If I want to maintain the above rule, it is allright. The problem is that I want to creat a new rule with 3 variables, but the … | |
Hi guys, Trying to develop a custom facet like search in Mysql. I have 3 tables for this: 1.Attribute class 2.Attribute class Name 3.Attribute class Value - attributeClassName Id - productId 4.Products Each product has one attribute class Each attribute class has many values Each value is contained in a … | |
Hey guys, Just tried to log in on Mozilla Firefox 30.0 and it does not give me an alert toast/message. My credentials are good because it worked on IE11 and Google Chrome. I've tried searching something on this topic, but haven't found anything. Have a great day everybody! | |
Hello people :) Having some difficulties regarding a simple substring. Then length of my line is 52 and I iterate it without any problems. When I use this untill the 22nd character it is working final String articleNumber = StringUtils.trimToEmpty(StringUtils.substring(lineValue, 0, 22)); If I want to pass over the 22nd … | |
Hey guys, Having some difficulties understanding why my OR || operator is not working... First part is BOOLEAN and it is working Second part is STRING and it is working, it returns the desired value What could it be ? <?php if(($oferte->isOrdered($oferte->CleanSapStyleNumbers($oferta->VBELN)) == false) || ($oferte->OfertaValida($oferte->CleanSapStyleNumbers($oferta->VBELN))->valabilitate == "VALABILA")): ?> some … | |
Re: can you post the code from the upload from your script ? | |
Re: As far it seems, you did not give permission to the Java to load properly. | |
Re: Make sure that the username has access from the IP from where you want to connect to the server. Is localhost your server or a remote one ? | |
Re: One of the simplest methods is to use jQuery's Ajax method to do this. https://api.jquery.com/jQuery.ajax/ Example code -> not tested $.ajax({ url: "your_link.html", cache: false, success: function(data){ // you can do an each sequence to append every value to the // select box as options // I would respond with … | |
**This is intented for learning purposes, feel free to study the code** Create a drawing that looks like this (pyramid) The number should be incremented with the modulus. | |
Re: What do you mean by this, in more details? ![]() | |
Re: In that case you have to use this <?php $server="localhost"; $username="root"; $password=""; $connect_mysql=mysql_connect($server,$username,$password) or die ("Connection Failed!"); $mysql_db=mysql_select_db("reportdatabase",$connect_mysql) or die ("Could not Connect to Database"); $db_sch = "SELECT * FROM cweb01group WHERE `GroupCode` ='".$_POST['group']."'"; //echo $db_sch; $i = 0; $res = mysql_query($db_sch) or die(mysql_error()); //echo mysql_num_rows($res); while($row = mysql_fetch_assoc($res)) { … | |
Re: Line 11 looks weird with the SHA1 function. $sql="SELECT * FROM admin WHERE username='$myusername' AND passcode='.sha1[$mypassword]' "; //should be $sql="SELECT * FROM admin WHERE username='".mysql_real_escape_string($myusername)."' AND passcode='".sha1(mysql_real_escape_string($mypassword))."' "; | |
Re: If I would have to chose, I would chose the browser, it is more easier, but also the media players it is okay. For the browser and media player look at Java FX. -> WebView | |
Re: Please read the documentation for the function: [jquery UI datepicker](http://api.jqueryui.com/datepicker/) Simple usage <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Datepicker - Default functionality</title> <link rel="stylesheet" href="//code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css"> <script src="//code.jquery.com/jquery-1.9.1.js"></script> <script src="//code.jquery.com/ui/1.10.4/jquery-ui.js"></script> <link rel="stylesheet" href="/resources/demos/style.css"> <script> $(function() { $( "#datepicker" ).datepicker(); }); </script> </head> <body> <p>Date: <input type="text" id="datepicker"></p> </body> … | |
Re: First please create a [sqlfiddle](http://sqlfiddle.com/) with your tables and data so we can help you with the query. | |
Re: I think that it is your PHP tags and other little problems. Try this. <?php $balance = $match_value['balance']; $verified = $match_value['verified']; ?> <tr> <th>Balance:</th> <td> <?php if ($verified == 1) { $verified = $balance; } else { echo '<a class="btn btn-danger" href="verified.php"> not verified </a>'; } ?> </td> </tr> | |
Raffle function to generate unique numbers for each player, related to the same table with a recursive aproach. I had to do a simple raffle system for a contest that I was working on and tried many things and the most simple and the most effective one to generate unique … ![]() | |
Hey guys, I am having some difficulties regarding a select query logic. Then I have a table with products and it has a column -> submodel with all kind of data in it.  What I want to achieve is to **STRIP** (with REGEXP?) all the strings starting with … | |
Re: Something is not right in your logic. $company_id = $_POST['company_id']; $company_name = $_POST['company_name']; // What do you do with these post`s ? You do not close your <select> form A simple logic is this. Also try using PDO classes instead of the deprecated MySQL. <?php echo '<select name="yourName">'; while($arr = … | |
| |
Re: As Dani said, you could try using jQuery also, it has all of these functionalities enable right out of the box. | |
Hey guys, I'm having difficulties with a problem. I iterate over an array of data with X rows And i have the positions of each row incremented, i would like that when i found an exception i shift all the position id's so after each exception the next ID has … | |
Re: Could you be more specific please ? A domain is the name of your public address on the internet. Ex www.google.com is a domain. Now there are other domains in the network area. | |
Re: Objective C is a bit tricky with numbers, you can mix it with C but the NSNumbers are tricky. Check out the NSNumbers and operators, you have to assign the values of the NSNumber to a variable and then you cand use this aritmethic operations. | |
Re: And I was thinkng that my iPad browser got messed up, the css seems to be messed up on my 3rd gen iPad. Chrome for iPad | |
Re: print out the $spec first print_r($spec) and see your variables | |
Re: The db verify is needed or you can use different methods with tokens and sessions. After inserting the value, you can redirect the user and when he hits `F5` it will just refresh the page. | |
Re: Please use this and run your query in the phpmyadmin or your admin tool. $sql = "UPDATE `userprofile` SET `user_name` = $username `email` = $email `description` = $description WHERE user_id =". $_GET['id']; echo $sql; | |
Re: You cannot pass a javascript variable to php directly. | |
Re: So if i understand, it lets you create more than one user with the same name ? | |
| |
Re: You log into the `Google Webmasters` select your `page` then click on `Google index` and then `Remove URLs` and create a new removal request. | |
Re: Try this $result = mysql_query("SELECT * FROM area WHERE county = '".$county."'"); But the query looks allright, try to run your query from the phpmyadmin or the administrative tool you have, and see the results there first. | |
Re: It depends on what you want to do, for example, dont start with the heavy Zend framework, since that will mix your ideas about programming at your level. Before you can understand frameworks, you have to know a little bit about OOP, since frameworks are based on OOP. | |
Re: First of all you have to know on what Operating System do you want to go. Then you have to create some restfull api's that comunicate with your database. You can use HTML5 included in your android or ios, or create your interface with the api's. |
The End.