199,122 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for DavidCorbin

Want to check function source code using eclipse. Help pls I'm curious on how certain php functions are implemented internally. e.g. array_values(). So in eclipse, I control click on the function name, which took me to a page that contain function prototype definition,[ ](http://offingapp.com/)but contains no internal source code. ![eexm.png](/attachments/large/4/b25980a2e0f3d1b4e7d405a10afc23c2.png …

Member Avatar for rproffitt
0
473
Member Avatar for ZheeYT

I am very new at programming in Java. Could somebody help me out with programming a Tic Tac Toe game? I would love to have to have the code for a game that can be played against the CPU. The assignment is to write the tic tac toe game using …

Member Avatar for Reverend Jim
0
2K
Member Avatar for Dazy

I read several forums questions related to SQL database corruption. As we all know, backup is the best way to repair SQL database. What a user will do when backup copy is also corrupted or updated bacjup is not available? Is DBCC CHECKDB Repair option (Repair_Allow_Data_Loss) safe?

Member Avatar for Dazy
0
349
Member Avatar for siddhesh123

Hi, I am working on getting MAC address of a newly connected client using C#. I have written server application and when client connects to my server, I want to get MAC addresses of clients and store it in database. I could get IP address of client but could not …

Member Avatar for JamesCherrill
0
2K
Member Avatar for Mahbub_2

Hi,this is mahbub.I have a website on [sports bicycle](http://www.sportspull.com/).Now ,I want dicuss with you.How can improve my website.This is website is new but I Launch for Affiliate.

Member Avatar for Renee_3
0
365
Member Avatar for divinity02

hi I have a login form, when i tried to login i got this two errors: **Notice: Undefined index: username in C:\wamp64\www\FormTutorial\php\luana_login.php on line 6** ** Notice: Undefined index: password in C:\wamp64\www\FormTutorial\php\luana_login.php on line 7 ** I have been busting my head to figure out how to solve it so …

Member Avatar for alan.davies
0
245
Member Avatar for Mr.M

Hi DW. Today just came across with something I didn't know of and it may be easy to someone else who had workded with it or had came across it. Look at this example code snippet: $a = '1'; $b = &$a; $b = "2$b"; echo $a. ", " .$b …

Member Avatar for JamesCherrill
0
361
Member Avatar for peterpa

hello friends , i need a help to create a binary tree using PHP and mysql. Friends i able to create a tree which is start form parentID with 0 successfully , but when i try to create tree with parent ID=1 , this time i just getting all the …

Member Avatar for Mr.M
0
8K
Member Avatar for pardeep3dec

Dear Experts, I want to develop a application that send sms on any mobile. if any one done this project then kindly give some important consideration for developing this application. Best Regards, Pardeep

Member Avatar for Tran_10
0
530
Member Avatar for Larry_13

Write a C program to implement the following function" print A for exam grades greater than or equal to 90, B for grades greater than or equal to 80 (but less than 90), C for grades greater than or equal to 70 (but less than 80), D for grades greater …

Member Avatar for Reverend Jim
0
381
Member Avatar for Leah_1

Take a closer look at some common misconceptions that prevent hiring managers from even considering a DevOps consultant. Great Article "https://medium.com/prodopsio/devops-consultant-vs-devops-employee-69fd011455fe" --> https://medium.com/prodopsio/devops-consultant-vs-devops-employee-69fd011455fe

Member Avatar for rproffitt
0
272
Member Avatar for devfeel

I have developed a sniffer code in C language. Now i am creating user interface for that. I am using visual C++ to design user interface. Once the program starts it stores each packets ip address, port number , protocol type ,time etc in respective variables. Now i want to …

Member Avatar for k_8
0
2K
Member Avatar for garymae14

can u help me with this one? can you gve me a sample code on how to add 2 values of textbox using php ?

Member Avatar for Saim_2
0
2K
Member Avatar for Sara_18

I am working on the workshop selector in Visual Basics 7th Edition chapter 5 and I just can't get the calculate total button to work after trying numerous different codes. Here is the criteria for the program. 3 list boxes, 4 buttons, 2 labels. The application allows the user to …

Member Avatar for rproffitt
0
2K
Member Avatar for Behseini

Can you please let me know how I can Strikethrough a generated text on captcha image in PHP? I have a code to create text on an image as below <?php $img = imagecreatetruecolor(200, 200); $bgColor = imagecolorallocate($img, 255, 255, 255); $netColor = imagecolorallocate($img, 185, 185, 185); $txtColor = imagecolorallocate($img, …

Member Avatar for Maksim_2
0
3K
Member Avatar for Mamatha_1

Hi All, I am a newbie programmer in python and I am trying to read multiple csv files from a folder, replace the delimeter for all the csv files and then output these files into a new folder with replaced delimiter. So far I am stuck at the beginning. Please …

Programming microsoft python
Member Avatar for rproffitt
0
616
Member Avatar for Mayank Singh

Hi all, Here is the code in c++ and i am new to coding world hence i need little help in converting this code into R #include <iostream> #include <cmath> #include <fstream> #include <string> using namespace std; int main(int argc, char *argv[]) { std::string protein; ifstream aa; aa.open("aa.txt"); //we are …

Member Avatar for rproffitt
0
332
Member Avatar for Amani_2

I am having trouble coding an animation for a pendulum simulation. I can never seem to get any of the code right. I tried using pygame, but it didn't work even after I installed it into my computer! I just need to know where to start! Help please!!!

Member Avatar for rproffitt
0
228
Member Avatar for sanket_6

I Know to design the games, but i don't know that how to specify controls gor designed game using programming language... Soo can anybody HELP me ??? - Thankyou !

Member Avatar for jmvazq
0
497
Member Avatar for Prosatanos

This is a function in class *DepartmentBean* which check if element already exist in container: bool f; public void addIfAbsent(UserBean userBean) { if (users.stream().anyMatch(x -> x.getUsername().equals(userBean.getUsername()))) { f = false; } else { f = true; users.add(userBean); } } } In my servlet I am trying to send Message of …

Programming file-stream java
Member Avatar for Tarek_2
0
476
Member Avatar for cambalinho

the C++ have virtual functions, but, for me they have 1 problem: on derived class, i must prototype them, for define them on Global Scope. how can i avoid the re-prototype them on derived class? i tried 1 way: template <class Type> class TypeHasToString { // This type won't compile …

Member Avatar for cambalinho
0
551
Member Avatar for Adm666

why at line 12, the expression : (char*)str+3 , adds the 2nd index to the string? for example when str="123123" , (char*)str+3 is "3123" instead of "123" ? input: 3 0 3 123123 output supposed to be: "Mybcmp result: 0" since the 3 indexes that's compared from b1="123123" and b2="123" …

Member Avatar for Ren C
0
428
Member Avatar for divinity02

hi there i have this registration page when a user login it should redirect you to a welcome page, I am having a similar problem at to one user who was experiencing the same problem. at one time it was going to the welcome page, but there were errors in …

Member Avatar for divinity02
0
319
Member Avatar for Theodore_2

Hello I am new to php and I have a problem, I have a code below that shows the fields in my `order_details` table in my database, the problem is in the <tr> <td><?php echo $product_row['name']; ?></td> <td><?php echo $member_row['Firstname']." ".$member_row['Lastname']; ?></td> <td><?php echo $cart_row['price']; ?></td> <td><?php echo $cart_row['qty']; ?></td> …

Member Avatar for Mr.M
0
620
Member Avatar for kennyL

I am writing a CLI application in PHP and I can't seem to understand why my MySQL Class that uses PDO will not get past the PDO or even error. I have made sure error reporting was enabled in my php.ini. PHP version is 7.1.3 on Windows 10. Here is …

Member Avatar for kennyL
0
610
Member Avatar for PotaZinga

Hi everyone i am getting an error that says Microsoft Office Excel error '800a03ec' Unable to get the Open property of the Workbooks class when i try to open an excel work book in my code . The line of code where i get the error is [icode] Set ExcelBook …

Member Avatar for Mounika_6
0
4K
Member Avatar for suhayb

i want to make simple cafe management system in Tkinter the buttons are automatically generating from a database so how i can get the names of the buttons and their price from a database and also want so insert this into a receipt(textbox) thanks def showbreakfast(): data1 = readbreakfast() for …

Programming python tkinter
0
321
Member Avatar for emilio_3

//Create a random 10 character password with the first character being a upper case letter. The remaining characters are random selections of Upper case //letters, lower case letters, 9 digits and/or special characters (found only on the top row of your keyboard). Please exclude 0 and O's from being used.After …

Member Avatar for ryantroop
0
580
Member Avatar for Toni_7

i have 2 sperate projects which i am trying to run together as a shared project but i am failing hard……. Basically, first project does infix to postfix notation and the second projects does postfix evaluation. tried to run all that in 1 project but i keep getting all sorts …

Member Avatar for Toni_7
0
705
Member Avatar for divinity02

hi there am trying to create a welcome page for when a member register/login but i dont quite know where the error is. i know there is an error there somewhere but as usual, finding my errors in one of my major fault. I am doing it in php the …

Member Avatar for Mr.M
0
1K
Member Avatar for divinity02

hi ah have ah form that when data is inserted it would go to a welcome page which it does but I keep getting this error ( ! ) Notice: Undefined index: first in C:\wamp64\www\luana_itec244\php\welcome.php on line 25 Call Stack #TimeMemoryFunctionLocation 10.0007237872{main}( )...\welcome.php:0 ( ! ) Notice: Undefined index: last …

Member Avatar for Mr.M
0
279
Member Avatar for elamigosam

I have this code, it only inserts the first $listing, then the others are ignored, mysqli_query doesnot return any errors, I was having a issue with column being truncated, but I fix that issue, When I copy and paste the $sql1 on phpmyadmin, it works with no issues. $resource = …

Programming mysql php
Member Avatar for elamigosam
0
362
Member Avatar for janicemurby

hi all im attempting to update coryApp script and im getting the following error PHP Warning: Division by zero can anyone help on this please be much appreicated heres is where the error is coming from if(isset($error) && !empty($error)) echo '<p style="margin:0px; padding:5px 20px"><font color="#FF0000"><small><i>'.$error.'</i></small></font></p>'; $config['showeachside'] = 4; $config['per_page'] = …

Member Avatar for jstfsklh211
0
782
Member Avatar for afaaro

Hi I am struggling how to list all the permissions and with checkboxes. if anyone can help me with it this is the code echo "<table cellpadding='0' cellspacing='0' width='100%' class='table table-bordered'>"; echo "<tr>"; echo "<th>PERMISSION</th>"; foreach($user_groups->rows as $row) { echo "<th class='checkbox'>".$row['title']."</th>"; } echo "</tr>"; $users_permission_query = $this->db->query("SELECT * FROM …

Member Avatar for jstfsklh211
0
2K
Member Avatar for davy_yg

program2.php <html> <header> </header> <body> <?php function Multiply($x, $y) { echo $x * $y; } echo 'Multiply : '.Multiply(2,3).'<br><br>'; ?> </body> </html> Why the result of the above program is : 6Multiply : instead of Multiply : 6 Any clue?

Member Avatar for jstfsklh211
0
195
Member Avatar for davy_yg

Hello, I try to create a simple OOP PHP that shows an error: class_lib.php <?php class person { var $name; function __constructor($person_name){ echo "Initialize class"; } function set_name($new_name){ $this->name($new_name); } function get_name($new_name){ return $this->name($new_name); } function __destructor(){ echo "end class"; } } ?> program3.php <?php include("class_lib.php"); ?> <?php $stefan = …

Member Avatar for jstfsklh211
0
602
Member Avatar for davy_yg

Hello, I am trying to follow the following tutorials: https://www.w3schools.com/angular/angular_tables.asp <div ng-app="myApp" ng-controller="customersCtrl"> <table> <tr ng-repeat="x in names"> <td>{{ x.Name }}</td> <td>{{ x.Country }}</td> </tr> </table> </div> <script> var app = angular.module('myApp', []); app.controller('customersCtrl', function($scope, $http) { $http.get("customers.php") .then(function (response) {$scope.names = response.data.records;}); }); </script> It produces a customer table. …

Member Avatar for jstfsklh211
0
291
Member Avatar for rjusman90

One additional primary search function. One other feature that we would like to include – if it can be done relatively easily - is that if someone enters in any location description (Zip, City Name, State Name) right after the main USMarriage.org URL name and a forward slash (such as …

Member Avatar for jstfsklh211
0
200
Member Avatar for John_196

I am making a user form in Delphi for documents tracking application. I am interested in functionalities **input new entry (record) **and **view list by... (date, name of document, ID,...).** My problem is that I don't know how to implement these functionalities for more than one user. Currently, I have …

0
449
Member Avatar for vampz

Hi, I'm getting an exception "Input string was not in a correct format." This happens only when any of the textbox is left empty that means when i click `radioCircle` on the form and only enter `Radius` value and leave all other textboxes empty then i get that error. But …

Programming
Member Avatar for vampz
0
1K
Member Avatar for Jomz_1

Hello, I am writing a simple program. I want to select the date and time, it should appear like this: DAYS HOURS MINUTES SECONDS when the time reached set date my timer must stop like this 0(d) 0(h) 0(m) 0(s) and show Form2. But my timer continues to count from …

Member Avatar for rproffitt
0
317
Member Avatar for Krisrei

Hey guys! help me out, i'm really out of ideas, how can i save the datas i inputed to have a rotation of value , like the computation in the withdraw, when i 1st use the withdraw or deposit, it computes, yes but when the 2nd time i use it, …

Programming java
Member Avatar for Reverend Jim
0
395
Member Avatar for davy_yg

Hello, I have been experimenting with Fusion Chart. I have been following this tutorial: https://www.fusioncharts.com/dev/chart-guide/getting-started/using-xml-as-data-format and trying to take the chart data from xml yet it does not works. bar_chart_xml.html <html> <head> <!--<script src="angularjs-plugin/wrappers/angularjs/angular-fusioncharts.min.js"></script> <script src="angular.js"></script> --> <script type="text/javascript" src="fusioncharts/js/fusioncharts.js"></script> <script type="text/javascript" src="fusioncharts/js/themes/fusioncharts.theme.fint.js"></script> <script type="text/javascript" src="fusioncharts/js/themes/fusioncharts.theme.fint.js"></script> <script type="text/javascript"> FusionCharts.ready( function …

Member Avatar for Dani
0
945
Member Avatar for Mister_1

I have three lines of code; $image->saveAs('tmp/page.png'); $image = 'tmp/page.png'; unlink('tmp/page.png'); I would like to have a random filename for page.png, so I have chosen to use the following; uniqid() How would I go about using `uniqid()` within each of those three lines. So it appears as; $image->saveAs('tmp/randomfilename.png'); $image = …

Member Avatar for jkon
0
197
Member Avatar for Mati_1

I'd like to get all of a mysql table's col names in a select box, and display the selected column name in a table. I just want to select one column at a time to display it in a single column table. I am assuming this can be done with …

0
454
Member Avatar for Mike_51

Hello, all. I am trying to calculate entropy, and I cannot get the calculations correct, or match the results with the assigned if-statements. I get a number that differentiates a bit from the answer that I want. So far, this is my code: #include <iostream> using namespace std; float Entropy(float …

Member Avatar for xrjf
0
1K
Member Avatar for Adm666

just as the title says how to compare between memory addresses's contents?, my function will get two memory pointers and i want to compare their first "len" from what they're pointing to i'm getting here invalid use of void * when i compile int my_bcmp (const void *r1, const void …

Member Avatar for rproffitt
0
504
Member Avatar for janicemurby

hi im attempting to update a script from coryApp and im getting the following error PHP Notice: Undefined offset: 11 here is the code where it is coming from can someone point me in the right direction on this ty jan x <td width="15%" class="headrows4" valign="top" align="left"> THIS LINE >>><p><input …

Member Avatar for ryantroop
0
3K
Member Avatar for xrjf

Here I present a WebSite containing just Default.aspx. Current snippet code has to do with coloring text in an input field of a web page. The input field is an editable DIV HTML element. While the user writes, there is a partial post (an XMLHttpRequest) to the server. Then the …

0
316
Member Avatar for Toni_7

Hello, I am building a calculator in c++ windows application form, i want the calculator to handle multiple operator precedence (for example, 2+4*5/3). but i am not sure how to write the following code on my windows form project. Any suggestions would appreciated . #include <iostream> #include <conio.h> using namespace …

Member Avatar for rproffitt
0
2K

The End.