Posts
 
Reputation
Joined
Last Seen
Ranked #145
Strength to Increase Rep
+15
Strength to Decrease Rep
-3
95% Quality Score
Upvotes Received
378
Posts with Upvotes
325
Upvoting Members
248
Downvotes Received
20
Posts with Downvotes
20
Downvoting Members
17
71 Commented Posts
27 Endorsements
Ranked #49
Ranked #49
~774.18K People Reached
About Me

web designer and developer. Working with .Net, PHP, Objective C and Angular.

Interests
Web design and development, gaming, martial arts and writing
PC Specs
2.4gig Acer laptop, 8 gig memory running Windows 8.1
Favorite Tags

1,576 Posted Topics

Member Avatar for vegaseat
Member Avatar for Reverend Jim
15
13K
Member Avatar for සශික

I think your problem is here: If (newpage) Then e.Graphics.DrawString(dgvreciept.Columns(cell.ColumnIndex).HeaderText, .Font, Brushes.Black, rc, fmt) Else e.Graphics.DrawString(dgvreciept.Rows(cell.RowIndex).Cells(cell.ColumnIndex).FormattedValue.ToString(), .Font, Brushes.Black, rc, fmt) On the first row to be processed (whether set to 0 or 1) newPage is true but inside that if you only draw the header if new page is true. …

Member Avatar for anoshmilton
0
2K
Member Avatar for hirenpatel53

Download wordpress ;) Or, if you want to do this yourself, what areas of web design are you familiar with? Are you asking for help with site design, databases or the actual coding? Simply put you will have one page that allows you to enter your blogs (unless you intend …

Member Avatar for shahid.tariq
1
3K
Member Avatar for thecoder2012

Can't you just call the auto complete code again? The last text entered is still in the text box at this point? It would just be a matter of detecting the enter key press and calling the function.

Member Avatar for Leroy_2
0
4K
Member Avatar for hiiiiii@

undefined index means you tried to access an array position that didn't exist. E.g. $array[10] when $array only has five elements. Associative arrays have the same problem e.g. trying to get $array['bob'] when that isn't in the array. Which lines is giving the error? At a glance your code looks …

Member Avatar for Daju Emmanuel
0
3K
Member Avatar for Reverend Jim

You may be onto something. I read these polls that say he rates low with women in the Republican Party and a majority of men don't like him either yet he still wins state after state for the nomination. I don't profess to understand American politics at all, this drawn …

Member Avatar for rproffitt
1
22K
Member Avatar for tarunap

Magento - it is free for the community edition, it works pretty well out of the box without customisation, there are many extensions that you can add, there are a heap of good looking themes around and if you do want to add special functional that you can't find an …

Member Avatar for nikitacod
0
639
Member Avatar for sathyakumar23

White hat obviously, unless you don't want to be at the top for long... No offence but I often wonder how easy people think it is to get to position 1. If it were easy everyone would do it (which of course is impossible) - There can be only 1 …

Member Avatar for DanielKeith
-2
2K
Member Avatar for mike888

You have two if statements that check if the query string is empty or null but not one that checks if it isn't. Therefore, if the query string["ID"] is set to some value nothing will happen. Your first check needs to be if (Request.QueryString["id"] != null) Then the code that …

Member Avatar for vishal_30
0
11K
Member Avatar for NA

Simply include the username is the result from the login query against the database. Then store it in session, or whatever persistance option is available to you. Then you have it available to use whenever you need.

Member Avatar for rproffitt
0
438
Member Avatar for NA

Firstly, I'd check that the is_dir command is workinf correctly. Which folder are you running the script from? I doubt '/xampp/htdocs/image' is relative to where the script is running and it isn't an absolute path. Add more echos to ascertain which code is running and where it stops. At least …

Member Avatar for hericles
0
361
Member Avatar for davy_yg

I maintain 2 legacy Symfony sites that make use of tpl files, in that site for creating ebooks from PDFs. A tpl is a 'template file' that can hold information about the another file type that is to be created. For the Symfony sites the .tpl files are used to …

Member Avatar for hericles
0
172
Member Avatar for davy_yg

Which browser are you using? Both buttons appear to work fine in Chrome and Firefox.

Member Avatar for davy_yg
0
437
Member Avatar for mlesniak

Does running `php -m` on the command line show the moduleas enabled? How about phpinfo()? Which module are you using: pdo_mssql or sqlsrv? I had some issues a few months back with pdo_mssql and but right now I can't remember what I did to fix it. I'll get back to …

Member Avatar for mlesniak
0
534
Member Avatar for random_1

Option one is to make a new query that does include the filter clicked as a WHERE clause and get the subset products returned. Seeing as this is purely PHP and you need to postback regardless of what the user does, appending the selected buttons onto the query as a …

Member Avatar for random_1
0
461
Member Avatar for random_1

Type is a reserved word in MySql so this line `$stmt = $conn->prepare("SELECT DISTINCT type FROM tbl");` will be failing. You need to quote the word type for it to be treated as a column name. `$stmt = $conn->prepare("SELECT DISTINCT 'type' FROM tbl");`

Member Avatar for random_1
0
296
Member Avatar for pape_1
Member Avatar for hericles
0
346
Member Avatar for random_1

Follow through each step and make sure everything is as expected. So check $_POST['password'] holds a value, check that password_hash() doesn't return FALSE and check the error message from your db call. Everything looks fine from a cod epoint of value.

Member Avatar for random_1
0
508
Member Avatar for Ummu_2

Help us to help you. What error are you getting or what behavior are you seenig that you don't expect?

Member Avatar for Ummu_2
0
372
Member Avatar for davy_yg

You'll want to either toggle or set display: none on: $('.image_road img') and $('.profile_picture img') Although you'll want to remember that if you hide the profile pic completely there is nothing left to click on to bring the buttons back.

Member Avatar for gentlemedia
0
352
Member Avatar for iyk

I don't see whre you're selecting the old password for the user, other than this: `$chg_pwd=mysqli_query($link, "select account_number,password from Login");` And that doesn't get the details for the particular user which makes me think you're just retrieving the first user each time.

Member Avatar for hericles
0
239
Member Avatar for Jarrod_1
Member Avatar for peter_62
0
417
Member Avatar for Royal_3

You're passing your comment string into the .comment-info div as text. You need it to render as HTML so instead try: `$(".comment-info").html(comment);`

Member Avatar for Royal_3
0
265
Member Avatar for SimonIoa

Trying running `npm rebuild node-sass` It should help rebuild the correct binding for your setup.

Member Avatar for hericles
0
398
Member Avatar for COKEDUDE

That format is called a ternary operator. It's a version of an if/else statement. `row[i] ? row[i] : "NULL"` is the same as if(row[i]) { // use value row[i] } else { // use value "NULL" }

Member Avatar for hericles
0
176
Member Avatar for Dietrich_1

The problem with your findMean method is that you aren't using the passed in array at all. You're ignoring it completely, creating your own array, doing the correct maths on that and returning the result. Bu tthat result is incorrect when considering the array passed in. It can be fixed …

Member Avatar for hericles
0
11K
Member Avatar for JModak

That error generally comes from having an incorrect number of parameters in you SQL queries or, in some other way, introducing an error involving the parameters. Pay close attention to the table schema and double check all of your mentioned parameters are correct.

Member Avatar for hericles
0
369
Member Avatar for dongtrien

It sounds like you are missing the 'using' statement for the required class at the top of the code file. So, if you have the class Properties inside a namespace XXX you would add `using XXX.Properties;` at the top of any other class that intended on using it. This may …

Member Avatar for dongtrien
0
326
Member Avatar for SimonIoa

Hello, First up, no Java needed at all. Angular is based in TypeScript now which has a very similar structure to JavaScript. If you don't know Javascript that well, it's easy to pick up. Using Ionic will mainly come down to running some commands on the CLI to build, deploy, …

Member Avatar for hericles
0
461
Member Avatar for Jamshaid _1
Member Avatar for Adam_40
0
606
Member Avatar for Viking_2

You don't have the correct number of closing brackets to match the opening ones one the print lines. Lines 22, 24 and 26 are all one short.

Member Avatar for hericles
0
365
Member Avatar for RainaAnja

The error is quite clear. You're passing a string into a dictionary that is declared to accept BetGuns.Web.Models.Home.VM_HotGames. You just need to look at the line causing the error and pass in a variable of the correct type.

Member Avatar for hericles
0
456
Member Avatar for Mehidy_1

The only thing that can be going wrong is that the ID is getting misread when looping through an array with a single value. It is always reading the ID of the first row regardless which checkbox was actually checked. You'll need to do some debugging to figure exactly why …

Member Avatar for hericles
0
417
Member Avatar for Anil_15

Firstly, check that $id is an actual value. Also check if the user you're accessing the database as has delete privileges. The table, depending on dtaabase design, could also have constraints that are preventing the delete from working. Secondly, unless you're validating the id parameter before appending it to your …

Member Avatar for benanamen
0
315
Member Avatar for JModak

Going by the error I would assume the stored prodcedure is expecting to return an integer but you're returning a varchar. Would that be correct? If yes, you just need to change the output type to be varchar.

Member Avatar for hericles
0
292
Member Avatar for dongtrien

Any chance you could simply add the error message to the post rather than have us download a file? And Win7 with SQL Server 2005? Why so out of date?

Member Avatar for rproffitt
0
135
Member Avatar for davy_yg

Use left: 0; instead of right: 0; Or are you trying to position the background image within .soulfy, rather than left position .soulfy? Because you'd do that with `background-position: left`

Member Avatar for hericles
0
132
Member Avatar for idaryl

It's likely that HTML is being stripped from the description as it is being rendered. You may need to remove the filter as described here: [Woocommerce docs](https://docs.woocommerce.com/document/allow-html-in-term-category-tag-descriptions/)

Member Avatar for idaryl
0
303
Member Avatar for sanus

You're missing your second option in the second ternary operator: `($camp['CampaignStatus'] < 2 ? 'Drafted' : <SHOULD BE SOMETHING HERE> )`

Member Avatar for hericles
0
283
Member Avatar for krishna_24

Bounce rates are generally high, although the type of website makes a big difference e.g. bounce rates for blogs are higher than normal. If you're bouncing at 65% or over you probably have an issue. Some experts say a bounce rate of 25-45% is pretty good. How to reduce the …

Member Avatar for ashwin_3
0
397
Member Avatar for Anni_2

If you're referring to this bit: while($row=mysqli_fetch_array($run))//while look to fetch the result and store in a array $row. { $slno=$row[0]; $sem=$row[5]; $subject_code=$row[9]; $subject_name=$row[10]; ?> you're setting the variables $slno, $sem, $subject_code and $subject_name on each loop through but doing nothing with them. On the next loop you're setting them again …

Member Avatar for hericles
0
601
Member Avatar for Maideen

You're not giving the option a value so no data is getting passed back in the POST for that variable. You need to chnage this: `echo '<option value>' .$row['paramhead']. '</option>'; ` to: `echo '<option value="' . $row['paramhead'] . '">' .$row['paramhead']. '</option>'; `

Member Avatar for hericles
0
382
Member Avatar for Violet_82

Is this a mobile app or running ina browser? If a mobile app you'll need to make an HTTP call to an endpoint to pass the data through so the server has the data to work with. From there how you proceed will depend on which language/platform you are using …

Member Avatar for Violet_82
0
356
Member Avatar for Alexandre_2

Yes, it is but you'd need to write or include compilers for the languages you intended to write in the IDE. You'd need to provide features like spell check, intelli-sense, error checking and compiler reports. It would be a fair amount of work to make an IDE that people would …

Member Avatar for Reverend Jim
1
549
Member Avatar for Jon_7

Are you looking for something that can parse and convert your CSV file automatically or are you happy doing the coding yourself i.e. writing the code for highcharts? If the former, then your options maybe limited. If the latter, then, sure, you can style the heck out of it and …

Member Avatar for Ella_3
1
859
Member Avatar for Shawn_6

You can use `var links = $('.col-lg-3 a);` To get a list of all of the links you need. If you then have a counter in your script which increments/decrements with each click of the arrow, you can use that counter as the index of the links array. `var link …

Member Avatar for hericles
0
186
Member Avatar for jouwa

If you wanrt to go cross-platform you would probably want cordova or xamarin. These let you build one app that builds for iOS, android and windows phone (with restrictions if you're doing something really cutting edge). If you wanted to target just android or iOS I'd still consider using one …

Member Avatar for Andrew_35
0
449
Member Avatar for Oxiegen

Is this a mobile app? If it is you can use sqlite instead, it is supported pretty well in objective c so I guess Swift is the same (haven't got around to updating my iOS knowledge base yet). Otherwise, if you need to connect to a remote MySQL serve you …

Member Avatar for Tim_11
0
1K
Member Avatar for _1_28

I'd consider using Unity. It's cross platform and you'd be programming in C# which is much better than trying to get to grips with C++ if you haven't used it before. C++ has advantages over speed of performance but C# will be faster to write in and makes a perfectly …

Member Avatar for Reverend Jim
0
418
Member Avatar for vinsanity2109

We'd need a lot more information to help you. Are you using a platform (wordpress, Joomla, etc) or is this a custom coded project? Are you using a shared hosting environment? You haven't even given us the URL.

Member Avatar for Fahim_3
-1
191

The End.