199,114 Archived Topics
Remove Filter ![]() | |
Hi. I want to set `read more` for my cms posts. The code i found was `<?php the_content( $more_link_text , $strip_teaser ); ?> ` but still don't know how and where to use it. Any suggestion? | |
Please explain when this error occurs.. duplicate symbol _Firstdata in: list.o main.o ld: 1 duplicate symbol for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) | |
When Im working out on MVC edit. It shows that `it must be a date`. How can I resolve This? | |
Hi! Basically I am trying to add the graph inside the Jpanel which already exists. I am getting the erorr "adding a window to a container" Here is my code public void displayGraph(){ try{ String sql = "Select pressure, ventilage from statstbl"; DBCon conn = new DBCon(); JDBCCategoryDataset dataset = … | |
HI I want to make an image slider where show user uploaded images from his directroy his directory or folder. [Image slider like this.](http://postimg.org/image/hl3pdp3mr/) | |
Hello All, We have created classified software for real estate market. We could say that software is now ready for additional niche markets. Markets that we are intend to market: car/bike, boats, pets etc Real Estate version: http://www.cubescripts.com/real-estate-script It is made in PHP and revision tracking is done through the … | |
#include<iostream> using namespace std; class B { int a; public: int b; void get_ab(); int get_a(); void show_a(); }; class D :public B { int c; public: void mul(); void display(); }; void B::get_ab() { a=5;b=10; } int B::get_a() { return a; } void B::show_a() { cout<<"a="<<a<<"\n"; } void D::mul() … | |
i need a c++ code which explain insertion and deletion of nodes from any position | |
I want to insert from product (id, name, price). How can I insert it using mvc[c#], mssql manually. | |
Hi every one I need to retrieve categories and subcategories by category type this my data category_id INT(11) UNSIGNED NOT NULL AUTO_INCREMENT, category_parent INT(11) UNSIGNED NOT NULL DEFAULT '0', category_name VARCHAR(255) NOT NULL DEFAULT '', category_type VARCHAR(30) NOT NULL DEFAULT 'news', like News++++++ category1 category2 subcategory1 Video++++++ category3 category4 category5 … | |
import java.util.*; import Jama.Matrix; import java.util.*; import Jama.Matrix; public class Suceses { public static void main(String[] args) { System.out.println("회전할 각도를 입력하시오 :"); Scanner a = new Scanner(System.in); int kakdo = a.nextInt(); System.out.println(a); double rad = (kakdo*Math.PI)/180; int x= 50; int y= 30; Matrix A = new Matrix(new double[][] { {Math.cos(rad),Math.sin(rad)}, … | |
I want to insert into DB 000001 and 000002 and .... but inserting 1 and 2.. any body help me to solve this problem my code is $b = mysql_query("SELECT MAX(app_number) FROM tb2_payment ")or die(mysql_error()); while($row_b = mysql_fetch_array($b)){ $app_number=$row_b['MAX(app_number)']; if($app_number=="") { $app_number2=000001; } else { $app_number2=$app_number+1; } } echo $app_number2; | |
<?php include("connect.php"); $cat_id=$_REQUEST['cat_id']; $search_key=$_REQUEST['search_key']; if($search_key != "") { $sql=mysql_query("SELECT * FROM tbl_products WHERE title LIKE '%$search_key%' OR short_descrp LIKE '%$search_key%' OR description LIKE '%$search_key%'")or die(mysql_error()); $count=mysql_num_rows($sql); if($count > 0) { while($row_city=mysql_fetch_array($sql)) { //echo $row_city['title']."<br>"; //echo $row_city['short_descrp']; ?> <div class="section group"> <div class="city"> <div style="float:left"> <img src="images/member_posts/<?=$row_city['image1'];?>" title="<?=$row_city['title'];?>" height="100" width="160" > … | |
I am getting all instead of am or pm any body help to get am or pm function display_ct() { var strcount var x = new Date() var x1=x.getMonth() + "/" + x.getDate() + "/" + x.getFullYear(); x1 = x1 + " - " + x.getHours( )+ ":" + x.getMinutes() … | |
Hi, i am developing an application in C#,i have create database1.mdf by right clicking on my project,add item then creating a database. my intial problem was,i was able to execute query correctly but those modification wasn't reflected in main database finally after lot of surfing i changed copy to output … | |
How to seperate two languages(English,Hindi) in python This is my Sample data 1 . wikiner2013inflected 1-1 1.000 Sharaabi शराबी 2 . ted 1-1 1.0 politicians do not have permission to do what needs to be done. राजनीतिज्ञों के पास जो कार्य करना चाहिए, वह करने कि अनुमति नहीं है . … | |
im sure im missing something obvious, i just cant see it any more. i had a fail on a site as i tried live, i tried to break the problem down i found the error as below with a foreach and an if condition. This is working fine on my … | |
``***Help*** me to add more code using c/c++ given bellow program that means (( you can input a password and the output checking the password is valid or not and also the password is hard or weak)) the program,s output show....the given password is too strong or strong or weak … | |
Hello, guys. I've wrote the following code #include <iostream> #include <string.h> #include <string> #include <locale> #include <stdio.h> #include <stdlib.h> #include <limits> #include <vector> #include <windows.h> using namespace std; string Numero_de_Matricula = ""; string Nome = ""; int Numero_de_Materias = 0; int Numero_de_Creditos = 0; vector<double> creditos (10); vector<double> Coeficientes(10); double … | |
I would like to know if possible to convert this to the codeigniter active record way using this->db->join etc. What's the best. It works fine with the code I got but would like to make it work with codeigniter db active records. http://www.codeigniter.com/userguide2/database/active_record.html public function get_category($category_id) { $language_id = $this->check_language(); … | |
I am having problem to implement maxOccurs in my XML Schema: error I am getting is Repeating sequence type at line 17 has more than one child My Schema: xs:simpleType name="nameType"> <xs:restriction base="string"> <xs:minLength value="1" /> <xs:maxLength value="20" /> </xs:restriction> </xs:simpleType> <xs:element name="information"> <xs:complexType> <xs:sequence> <xs:element name="personal" maxOccurs="10"> <xs:complexType> <xs:sequence> … | |
I am having problem with maxOccurs in my code.. it is cauisng an error. Could anyone could aid me to avoid having error? <xs:simpleType name="nameType"> <xs:restriction base="string"> <xs:minLength value="1" /> <xs:maxLength value="20" /> </xs:restriction> </xs:simpleType> <xs:element name="information"> <xs:complexType> <xs:sequence> <xs:element name="personal" maxOccurs="10"> <xs:complexType> <xs:sequence> <xs:element type="nameType" name="name"/> <xs:element type="nameType" name="surname"/> … | |
Im writing a program that keeps track of a bussiness/banks loans and also shows results of the payments recieved and payments not recieved. basicly it's just a program for loans. i need a name and logo for it, any ideas? | |
Find Degree for each Node of given graph by Pthread library. The size of graph can be very large, so you need to parallelize program to multiple threads. Number of threads to use should be given from command line. INPUT(graph.txt): first line contains N, number of cities. Next N lines … | |
Hey all, This is my first time posting on GoExpert, so I'm excited to see what the community here has to offer! Anyway, I am currently working on creating a compiler (using Flex and Bison) in C for a subset of the Pascal programming language in my Compilers course... and … | |
Hi. I'm working on my own CMS, i want the script to echo 3 posts in every page, and want the script to echo from the recent post and back to the oldest post. I mean like this: For example there is totaly 30 posts; First page => posts 30-29-28 … | |
Everything is working fine in my program with no compliling errors. However, when I go to list the data, it writes it twice. I can't figure out what is wrong in my code. #include <stdio.h> #include <string.h> struct inventory { int number; char toolName[15]; int quantity; double price; }; int … | |
Hello. I need help with my javascript code.. In the screenshot I just uploaded here, When I input a non-numerical character on the 1st box, it should make the 2nd text box output 0 instead of NaN. <form method="POST"> <!-- my html form... for clarity sake --> <p><span id="errMsg" class="errMsg"></span></p> … ![]() | |
I have two tables in my database.Users table and contact table,i want to use the ID that was generated from Users table to contact table.Below is the script for Users and contact. <?php // If the values are posted, insert them into the database. if (isset($_POST['username']) && isset($_POST['password'])){ $username = … | |
Hi, in my project i need to update the attn_dateTimeOut in database.After i updated it will automatic delete the specific row record that had been updated. I had two question: 1) in my database there are a few table is assign not null."attn_dateTimeOut" is a table that haven insert any … | |
I am planning to create a program with some graphical representation of data from SQL database. What language to use to create graphs? | |
I am new to OOP, i am not sure if this is the correct approach or not. Need some insight. Assignment 3 Write a class named CreditCard that has (at least) the following member variables: name. A String that holds the card holder’s name. cardNumber. A field that holds the … | |
Here's my product table. [id, name, price, description, unit] For example. I want to edit only the name and description. How can I do it in mvc? | |
I need to draw line chart for the data present in the database, my database looks like CREATE TABLE `details` ( `id` varchar(2) CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL, `value` varchar(5) CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; INSERT INTO `details` … | |
hello guys i have a problem and i beg for help, i'm doing a student IS i have a result table which store students results it is named capture 3 i have developed html form accept user who add marks for a particular student these are the hmtl code <?php … | |
Hello all, I have a question: Does anyone knows any other website besides themeforest.net to sell website? Thanks before, Davy | |
I'm trying to addrow onclick button, and I need that new row would have the diffrent ids for "keyword" and "chapter" so I can pass the values of these two field in CLO(key, chap) I can only call the CLO() function in orginal row I need to be able to … | |
<table class="filetable" id="filetable"> <thead> <tr> <th width="25%">名称</th> <th width="6%">大小</th> <th width="10%">类型</th> <th width="19%">修改日期</th> <th width="40%"></th> </tr> </thead> <tbody id="FileList" runat="server"> <tr> <td><img src="images/f01.png" />Adobe Dreamweaver CS5简体中文绿色</td> <td>2013/10/14 17:38</td> <td>文件夹</td> <td class="tdlast">0 KB</td> <td></td> </tr> </tbody> </table> this is a table, I want to get the value of each FileName when … | |
I'm trying to determine the value of $level based on the keyword user provide using If statement but whatever was the user entry the value of $level always giving as 1 this is my code I need your help to find the error <?php $q1 = $_GET['q1']; $con = mysqli_connect("localhost","FYP","123","FYP"); … | |
Hello well I always wanted to make a videogame i just didnt know how so I read up on some books and kinda learned a little bit but what would be the best programming language for making a game that would do well and not a game that is just … | |
Parse error: syntax error, unexpected '{' in E:\FYP\DB\TWAMPd\htdocs\web\edit_infos.php on line 58 I can't update the information page . Can someone help me? <?php include('config.php'); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link href="<?php echo $design; ?>/style.css" rel="stylesheet" title="Style" /> <style type="text/css"> … ![]() | |
Hello, guys. I wrote the code to a Quadratic Equations Solver and I'd like for you to run the program and read the source code and give me tips on what I can improve, what is good and what is bad, suggestions, etc. . #include <iostream> #include <locale.h> #include <math.h> … | |
I want to send email in asp.net using my yahoo account I want to the know the SMTP server name of yahoo and the port number to use . Like for gmail i know .its "smtp.gmail.com" and port 587 Whats in case of Yahoo...?? In gmail its free to send...Is … | |
When launching exe file, I am getting the following error, 'The registry refers to a nonexistent Java Runtime Environment installation or the runtime is corrupted. The system cannot find the path specified'. No issues with Environment settings. Can you please help on this. This is really very urgent issue. Kindly … | |
Hi guys I am attempting to get data entered in an HTML form through PHP then converting this data into a JSON object which will be saved on a server and retrieved to the form incase someone wants to edit entries. Please help and advice on an alternative if you … | |
Really need help please this is my code: Sub updteWS() Dim sql = "select Count(*) from ItemProduct where Code= ?" Dim cmd = New OleDbCommand(sql, conn) cmd.Parameters.AddWithValue("@Code", LVCart.Items(0).SubItems(0).Text) Dim result As Integer = Convert.ToInt32(cmd.ExecuteScalar()) cmd.Parameters.Clear() cmd.Dispose() If result > 0 Then For Each x As ListViewItem In LVCart.Items Dim Stocks_WS1 … | |
I want to reload my form in Vb6 without closing it. I am sending a data through serial comm and receiving it. Now i want the repeat the procedure again without closing the Form. The problem is , I don't want to unload the form.It should get reloaded automatically | |
I have object names in a ListBox. When a name(line) is clicked, I need to know which line (by number) has been selected. Using that number, I can then do various operations including inserting text into 7 different text boxes. The line number would be the determining number for a … |
The End.