199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for complete

I was installing some modules in Drupal 7. Suddenly, the helpful buttons across the top for admin mode disappeared. Can anyone tell me what happened and what I have to do? I am able to go to {website}/admin and essentially see the same buttons on the page that, I guess, …

Member Avatar for diafol
0
230
Member Avatar for phphp

Sir I have these codes $start_time=$row['start']; //2017-02-09 15:04:09.000 $stop_time=date('Y-m-d H:i:s'); //2017-02-09 16:24:22.000 $duration=$start-$starttime; // it says 2016 but i need result like this //0001:20:13 I mean I need hours in 4 digits minutes in 2 digits and second 2 digits Please help

Member Avatar for diafol
0
389
Member Avatar for venus87

How to write a C program to count the number of mouse clicks in our Pc.Can any one give me idea for that ?

Member Avatar for Seyferx
0
3K
Member Avatar for Lerato_1

hi, I am writing a simple calculator program and want to know how to write my nested if conditions for perfroming calculations

Member Avatar for ddanbe
0
214
Member Avatar for cossay

I have the following class that I intend to validate by passing it in the symfony validator. <?php namespace Shop; use Symfony\Component\Validator\Mapping\ClassMetadata; use Symfony\Component\Validator\Constraints as Assert; use Shop\Validation\Constraint as ShopAssert; class Country { /** * * @var int */ public $id; /** * * @var string */ public $name; /** …

Member Avatar for cossay
0
411
Member Avatar for Anna_10

Im working with Forms Builder. Ive built my form, when Im testing, it shows: FRM-41045::cannot find item:invalid ID. See Help>Online help for details But, online help sucks - there are only unanswered questions (forum-like site) Any help?

Member Avatar for rubberman
0
290
Member Avatar for Shafi_2

i want to refresh multiple div value without refreshing the whole page using one function. <div class="live_update" id="a">33</div > <div class="live_update" id="b">34</div > <script src="https://code.jquery.com/jquery-3.1.1.min.js"></script> <script> function autoRefresh_div() { $('.live_update').load('Dashboard.php' + ' .live_update'); } setInterval('autoRefresh_div()', 1000); </script>

Member Avatar for Dani
0
1K
Member Avatar for Sherwin_4

Good morning everyone, The library will be home, 0800 till 2100. I've been working on trying my loops in my hailstone sequence into recursions. It seem recursion can easrier to do, instead of creating loops. I say seem, because now I have come to halt on my progress. The halt …

Member Avatar for JamesCherrill
0
783
Member Avatar for newbee_jv

Hello everyone, I am new to Regular expression, and would like some hints, please if someone can direct me to right place. I have a bunch of files in a directory, and i need to rename them based on certain pattern. I think I need to use regular expression to …

Programming java pdf regex
Member Avatar for newbee_jv
0
269
Member Avatar for charles_23
Member Avatar for charles_23
0
148
Member Avatar for Hi

how do i make a code that willfind the distance wether or not your speed is a float or an integer. please help i get no assistance in my class as techer is awful

Member Avatar for ddanbe
0
665
Member Avatar for Tcll

now I know your first thought is going to be rotation matrices, but take a moment to think about how they're applied... I'm wondering if there isn't something more efficient, or if there really needs to be that many operations per bone and vertex. I'm looking for the smallest data …

Member Avatar for Tcll
0
596
Member Avatar for nadiam

Hi. I have this Semantic Network exercise with no answer and i just want to check if i am correct. Please check this image: http://imgur.com/a/iC0dW The exercise: Kassim is a 45 year old man who has 2 wives and 7 kids. He workds as a surgeon in a private hospital …

Member Avatar for nadiam
0
185
Member Avatar for gentlemedia

I'm trying to retrieve the values of checkboxes in a custom post type. My complete function: function getTeam() { global $post; $team = new WP_Query(); $team->query('post_type=coaches'); $workshops = get_field('workshops'); if ($team->found_posts > 0) { echo '<ul>'; while ($team->have_posts()) { $team->the_post(); $listTeam = '<li>'; $listTeam .= '<a href="#" class="js-modal">'; $listTeam .= …

Member Avatar for gentlemedia
0
425
Member Avatar for davy_yg

Hello, I am trying to make this program load the style.css correctly. Can anyone help me out? admin/views/login.php <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>CodePen - Log-in</title> <link rel='stylesheet' href='http://codepen.io/assets/libs/fullpage/jquery-ui.css'> <link rel="stylesheet" href="<?php echo base_url('assets/style.css'); ?>" media="screen" type="text/css" /> </head> <body> <br><br><br><br><br><br> <?php $this->load->library('form_validation'); ?> <?php echo validation_errors(); ?> <?php …

Member Avatar for Dani
0
2K
Member Avatar for moin ali khan

In a system implementing paged segmentation, the size of logical address is 42-bit where aprocess can have maximum 128 segments and the page size is 512-bytes. Page table entry size is 4-Byte. Physical address space of the system is 128KB. Compute : i.Maximum number of pages per process ii.Size of …

Member Avatar for rproffitt
0
281
Member Avatar for jason_27

Hi please help me VB.NET source program that could get a name of database SQL Server file from user and show all tables and fields and size and also SP , view Please answer me If you put the source code of the program, I am very grateful Iam very …

Member Avatar for Dani
0
341
Member Avatar for phphp

Sir I am using IIS Manager, as follows ![Untitled2.png](/attachments/large/4/5db38166988018ba54db4cd0600179cb.png "align-center") and I have these codes for login.php <?php error_reporting(E_ALL); ini_set('display_errors', 1); require_once("../includes/connectsql.php"); require_once("../includes/functions.php"); $error = false; $cerror=""; $cur_id=0; $cur_user=""; $cur_email=""; $mypass=""; if(isset($_POST['login'])){ $muser=clean($_POST['username']); $mpass=clean($_POST['password']); $mypass=SHA1($mpass); if (!preg_match("/^[a-zA-Z0-9]+$/",$mpass)) { $error = true; $cerror="Password must contain only alphabets and space"; } if(!filter_var($muser,FILTER_VALIDATE_EMAIL)) …

Member Avatar for Dani
0
297
Member Avatar for aayush_2

Hello Sir, I am developing social networking website using jsp and servlet . I have created login page using mysql but now i am not able to make posting status and commenting system on that post.Please provide me solution. thankyou aayush

Member Avatar for rproffitt
0
1K
Member Avatar for gentlemedia

I'm not sure why it returns Array, because as far as I know I don't retrieve the profile images from an array. See the following function. function getTeam() { global $post; $team = new WP_Query(); $team->query('post_type=coaches'); if ($team->found_posts > 0) { echo '<ul>'; while ($team->have_posts()) { $team->the_post(); $listTeam = '<li>'; …

Member Avatar for gentlemedia
0
782
Member Avatar for shany0786

Hello all Every one has seen gmail shows small blocks of files and documents preview and when we click on that then we can read it online on full page as gmail or google drive shows.Is there any library for doing such things.I aslo need to diable download and print …

Member Avatar for gentlemedia
0
300
Member Avatar for davy_yg

Hello, I am having a problem aligning text to the top of the table. Cek this out: http://gsa-constructionspecialist.com/experiences All the text is not aligning to the top. It's aligning to the center vertically. I wonder how to align the text to the top with tiny mce. I don't think I …

Member Avatar for gentlemedia
0
3K
Member Avatar for fo2sh

Hello, I rebooted my server and it won't startup due to the below error, now server is not getting up, its throwing the below error and keep trying to connect to Oracle, so I am unable to access the server to free some space if its the issue as per …

Member Avatar for JamesCherrill
0
2K
Member Avatar for Dhelandel

How to implement bucket sort in C using Linkedlist.. Or any weblinks please share...

Member Avatar for JamesCherrill
0
262
Member Avatar for Jhovyn

Why am I getting an error "Operation is not allowed when the object is open"....Here is my code Option Explicit Public Report As New CrystalReport1 Public mvCn As New ADODB.Connection Public Function printReport() Dim strConnectionString As String Dim rs As ADODB.Recordset Dim strScript As String strConnectionString = "Provider=SQLOLEDB............" mvCn.ConnectionString = …

0
177
Member Avatar for John_145

Does anyone have any tips on how to get better at C++ programming? I have a basic at best knowledge of C++ but find myslef lost in my second semester C++ programming class. Are there any resources that I can use or projects that I can work on that will …

Programming c++ seo
Member Avatar for rubberman
0
393
Member Avatar for Raman_6

Need some help. I have the below hardware details. attached Intel Core i7-3770 @ 3.40GHz 4 Cores 8 Logical Ivy Bridge-DT 4 x (32 + 32 + 256) + 8M Cache Features enabled MMX SSE SSE-2 SSE-3 SSSE-3 SSE4.1 SSE4.2 AVX DEP VMX SMX SMEP EM64T EIST TM1 TM2 HTT …

Member Avatar for rubberman
0
326
Member Avatar for Venance_1

I'm writing a small PHP system to register groups, the groups are of four category, namely men, women, youth and both(men and women) category, i'm not good in javascript but i have tried to write small javascript code which invoke a text box when a user choose men category. What …

Member Avatar for vsmash
0
366
Member Avatar for genieuk

Hi, Not done any programming for a few years so am somewhat rusty again. I have two tables **users** table and **users_profiles** table. I want to update **users_profiles** table on the condition that **user_uid** matches on both tables (**users.user_uid** and **users_profiles.user_uid**) and where **users.user_login ** = 'johndoe' and **users.user_uid** = …

Member Avatar for genieuk
0
769
Member Avatar for Carsten_1

I've been trying to have a button (Arduino) change the fill color of an ellipse in Processing 3. I thought an if statement like `if(button == 0){ if(fillValue == rgb){ fill(0,0,0);}`or something more or less. So if some one has the awnser please help.

Member Avatar for diafol
0
259
Member Avatar for wilsonchama

Hi guys I am developing a simple job card creator application with VB.net 2012, using Access 2010 as database. The code I have generated to write data from a datagridview to the database table is successfully saving the data, but with an error "Parameter @name has no default value". The …

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

Can Somebody help me? i have an error whenever i want to save the data i have retrieved from different table in mysql. my system is doorlock system. im going to choose an item in the combobox and when i click the button, the data i'd chose from the combo …

Member Avatar for Mr.M
0
5K
Member Avatar for a5opyan

I want to increase the limit of upload size max, but because I using shared hosting, I cannot edit php.ini. Then I try to edit my .htaccess file. I added these lines: php_value upload_max_filesize 700M php_value post_max_size 700M php_value max_execution_time 600 php_value max_input_time 600 When I test it in localhost, …

Member Avatar for a5opyan
0
400
Member Avatar for ahmedrizwan1

I've attached a picture of how I'm coding the given problem, but i'm certain i'm doing it wrong. could anyone please guide me how to go ona bout the problem? thanks

Member Avatar for rproffitt
0
303
Member Avatar for Violated

I keep getting a sytax error but i can not find it. It does not highlight the area where it is at. I am still new to programming and need a little help on this one. If you need to see the whole code it is [Click Here](https://github.com/wes1696/Home_1/commit/290a6503a295e4e5a31b3d41f0898ad2dc4d5d25). user_input = …

Member Avatar for rproffitt
0
184
Member Avatar for Norman_3

I am using Excel with VBA 7.1. I am starting another application from VBA using the shell command. The application comes up OK. But now I need to click a button in that application to proceed. My current (and limited) understanding of the procedure I must follow is to first …

Member Avatar for rproffitt
0
348
Member Avatar for nagatron

Hallo to all web developers, I have a problem in load PHP in mozilla fire fox. . .I am using XAMPP web server. My PHP file is currently stored in this path [COLOR="Red"]C:\xampp\htdocs\test\index.php[/COLOR]. Whenever I run my PHP in mozilla it won't display anything even just a simple "hello world." …

Member Avatar for koford
0
2K
Member Avatar for Stefce

Why am getting error when i think it should work fine **Error** Fatal error: Wrong SQL: INSERT INTO kladilnica (Username, Bet, Win, reg_date, Odds, isActive, ticket_id, isShared, is_winned, Location) VALUES ('Stefan', 100, 3500, '2017-02-06', 66, 1, 351358728, 0, 0, '') Error: in C:\xampp\htdocs\bootstrap\navigation.php on line 257 **Code** $sql = "INSERT …

Member Avatar for cereal
0
331
Member Avatar for gentlemedia

Ok... back to my PHP/Wordpress adventure. In my testimonials post type I have added 5 custom fields and 2 fields are not mandatory which means they can be empty. One of them is the url field which I want to output within my while loop with a different HTML when …

Member Avatar for cereal
0
2K
Member Avatar for gentlemedia

Aight folks! So I'm trying to do some custom coding within Wordpress and my plan is to create custom post types which I want to display within custom widgets. I thought that would be fun for a learning experience.... ahum... and I wanted a widget/plugin that outputs some proper semantic …

Member Avatar for gentlemedia
0
595
Member Avatar for charles_23
Member Avatar for rproffitt
0
156
Member Avatar for Diogo_1

I want to connect my database (sql) into a program i made on c in codeblocks but i cant find a way to do it

Member Avatar for rubberman
0
964
Member Avatar for Agata_1

I need help trying to create a loop to calculate asset depreciation within these paramaters. Part 3) Calculate Depreciation by declining balance. In a company, fixed assets such as equipment lose their value over time and this charge is called depreciation. Equipment is rarely valued as worthless ie $0, even …

Member Avatar for rubberman
0
1K
Member Avatar for Saboor_1

Hello to all! I have an order of a simple desktop pos which i will develop in java. Actually i have to develop this pos for a person who is owner of a hardware shop(nuts,bolts,nails, hammers and screw drivers etc.). He needs features as follows: 1-Automate his sales transaction i-e …

Member Avatar for rproffitt
0
260
Member Avatar for AndreRet

Hi to all the old familiar faces, have not been here for a while... I have read up on tons of samples and answers (and even more on how cryptography works) but none answers my scenario. I am creating a new user from desktop app in VB.Net. User need to …

Member Avatar for AndreRet
0
575
Member Avatar for Susan_5

I need a little advice. I am working on a webpage that includes tabbed panels that use hidden checkboxes to switch between panels and, for smaller devices, a collapsing menu that triggers with a hidden checkbox. I have tested this page on a number of browsers and operating systems (can't …

Member Avatar for gentlemedia
0
295
Member Avatar for mattyd

I want to collect basic user information when they land on an index page, such as: IP Country City State Zip Code I've looked into sites such as ipinfo.io that offer a service regarding these details, but think it may be easier to collect the same info via PHP. From …

Member Avatar for Dani
0
448
Member Avatar for Nazneen_1

Hi , i need to add values in my Grid-View at Run time and save it to the database.i am displaying a particular folder filenames in gridview now after displaying need to add two columns and insert values at runtime in it and then save it to the database.i tried …

Member Avatar for ddanbe
0
657
Member Avatar for amith_ami

I have affiliate api of amazon,ebay,flipkart and snapdeal. I want to combine all api results to my web page with pagination. Like this website https://www.compareraja.in/mobiles.html If possible please suggest any ideas. I am using opencart for development.

Member Avatar for cereal
0
472
Member Avatar for Branislav_1

Program sifrarnik; Uses sysutils; Type myrecord=Record num:integer; itemname:String[20]; price:Integer; End; Var data:array[1..10] of myrecord; doc:file of myrecord; operatingnum:integer;//item number used for reading and writeing into base error1,choice1,i,j,n,a:integer; begin Repeat Begin WriteLn('1. Add items date':10); WriteLn('2. See items data':10); WriteLn('3. Close'); Write('Chose: ':10); ReadLn(choice1); Case choice1 of 1 : Begin Assign(doc,'myfile.dat'); …

Member Avatar for Branislav_1
0
581

The End.