52,566 Archived Topics
Remove Filter ![]() | |
Hi all, I'm quite rusty at this but volunteered to build a site. Although this will be a momentary quick fix to have a site running, I'd like to have the menu fetched from a different html file which I already created but somehow it doesn't show. The menu lays … Web Development html-css ![]() | |
Please help me. thanks <?php if ( wt_get_option( 'wt_show_post_img' ) == 1 ){ if (has_post_thumbnail() ) { ?> <div class="thumbnail single-post-thumbnail"><?php the_post_thumbnail( 'wt840_420' ); ?></div><?php } } ?> | |
I read a bit around here, but as I'm a newbie I couldn't configure what to change the description to on my own, can someone help me? I get this error: ` Warning: Illegal string offset 'members_seo_name' in F:\Server\xampp\htdocs\ipbwaqar\admin\sources\classes\output\publicOutput.php(3526) : eval()'d code on line 12` **publicOutput.php looks something like this:** … | |
So basically, I want to require the user to select from the checkbox Here is addpost.php <form action='' method='post'> <p><label>Title</label><br /> <input class= "form-control" type='text' name='postTitle' value='<?php if(isset($error)){ echo $_POST['postTitle'];}?>'></p> <p><label>Description</label><br /> <textarea name='postDesc' cols='60' rows='10'><?php if(isset($error)){ echo $_POST['postDesc'];}?></textarea></p> <p><label>Content</label><br /> <textarea name='postCont' cols='60' rows='10'><?php if(isset($error)){ echo $_POST['postCont'];}?></textarea></p> <!--For textarea's … Web Development | |
The scenario is like this: * I am using a CMS that uses FCKEditor (that's what came with it not CKEditor). * I use this CMS a lot, I'm pretty familiar with it and I have never had a problem on my machine or anyone else's using the Admin facility … | |
Hi everyone...have this table as header and i want to display it in all 2 tabs ie Quarter tabs.Currently, the header detail is only displayed in Quater 1 tab...and eventhough i've use include (header.php) in Quarter 2 tab, the header detail is not displayed.Please advise how to display the same … | |
So I spent an hour on GoDaddy and Google and didn't get a definitive answer. Does GoDaddy's shared Windows Hosting plan support .NET 4.5.1? I found a page in their support section that mentions that the shared hosting plan supports .NET 4.5. But is that enough to run my website? … Web Development asp.net | |
hi guys..can guys tell me how to make a display for checkbox after checked. the checkbox is checked and i want to display that checkbox? i'm not good in any statement..:'( hopefully u guys can help me..sory for bad english.. Web Development php | |
I have a form that has two parameters amenities and attributes. The amenities parameter has a dropdown menu that whose value gets populated from a separate table. The second parameter is attribute whose value will be entered by the user and will get saved in a database. View of database … Web Development javascript mysql php sql | |
<?php require_once('Connections/localhost.php'); ?> <?php if (!function_exists("GetSQLValueString")) { function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") { if (PHP_VERSION < 6) { $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue; } $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue); switch ($theType) { case "text": $theValue = ($theValue != "") ? "'" . … Web Development mysql | |
How can I catch and log PHP fatal errors in CodeIgniter? if (defined('ENVIRONMENT')) { switch (ENVIRONMENT) { case 'development': error_reporting(E_ALL); ini_set('display_errors', '1'); break; case 'testing': case 'production': error_reporting(0); break; default: exit('The application environment is not set correctly.'); } } When environment is set to production and there's a fatal error, … Web Development php php-codeigniter | |
hello. i got this error and i have no idea why or what is going on. could someone explain in layman's term please and help me out. > Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'event_id' cannot be null' in /home/dhsbnet/public_html/ems/add_guest.php:36 Stack trace: #0 … | |
hi. i got 2 tables next to each other: .contact-names & .guest-list and a left and a right button between those tables and a drop down list. by default both tables have the message "Please select an event" from the drop down. when an event is selected .contact-names will be … Web Development html-css javascript-jquery | |
Here is the code. I am trying to hi-lite rows that are generated that have a value of "Y" for column AA_letter_recd in yellow, the rows . The ones that have a value of "N" are not to be high-lited in yellow. Thanks. <?php /*Main Store Index */ // Script … | |
Hi all, I am here for a serious suggestions!!! I am new to web applicatons using C#.I want to clarify a few things please. 1). I'm using VS 2013 .Does it contains SQL Server built-in .if Yes,which version? 2).Should i head to Web Applications using MVC etc. or simply? 3). … | |
How to integrate facebook posts in my website? [URL]www.areinfotech.com[/URL] Web Development php | |
This might be the vaguest question in the history of Daniweb but I have php chat program that is great all for one thing. It will not make any noise. If anyone wants to take a poke at it. I can post logs, even give access to it, and try … Web Development php | |
this is my modal button this is within the table that why i use echo $rows['id'] <a data-id="<?php echo $rows['id']; ?>" type="button" class="btn btn-success btn-lg btn-block" data-toggle="modal" data-target="#myModal">View Order</a> this is my modal body <?php include('../conn.php'); $id=$_GET['id']; $list_query=mysql_query("select * from db where id='$id'"); $rows=mysql_fetch_array($list_query); ?> <form class="form-horizontal orderitem" role="form"> <div … Web Development css-bootstrap html-css mysql php | |
I am developing web based mess management application where i need to make attendence through finger print identifications , for this purpose i want to use my laptop HP Probook 4530s build in finger print reader as for development and testing purpose .... is it possible or not ? ![]() | |
404 error.requesting the resource while i click submit, i included lib files of struts in web-inf dir in this project. build success, not forwarding as per code in mainpage.java. index page(run): <body> <h1>Hello World!</h1> <a href="mainpage">Main page</a> </body> main page: out.println("<html>"); out.println("<head>"); out.println("<title>Servlet mainpage</title>"); out.println("</head>"); out.println("<body>"); out.println("<form action='strapp' method='post'>"); out.println("<input … | |
Hi everyone...i have this table ie `Kra,Year,Max(Rating1),Max(Rating2),Tot_Rating`...the task is to display the max occurence of rating.There are 2 types of rating ie "good" or "problematic"..if Max(Rating1)="good" and Max(Rating2)="good", Tot_Rating="good".Below is the coding but it didn't display as what suppose to...please advise...thanks a lot. <!DOCTYPE html> <html> <body> <?php $connection = … Web Development php ![]() | |
Hello everyone, I want to make a website for movies, can any one tell me how can i do the followings .... 1 - will i use xml file for movie path? if yes then how can i use xml file. 2 - is this possible that the record of … | |
hello friends I am trying to convert a vb.net datagridview code into asp.net. I want to display last three rows of table column from database table in gridview column1. Dim dt As New DataTable ' Create columns dt.Columns.Add("column1", Type.GetType("System.String")) dt.Columns.Add("column2", Type.GetType("System.String")) dt.Columns.Add("column3", Type.GetType("System.String")) dt.Columns("column3").Expression = "[column1]+[column2]" dt.Rows.Add("", "") dt.Rows.Add("", "") … Web Development asp.net dataset open-source | |
hello guys.. i have a problem..can anyone tell me how to solve this: `Notice: Undefined index: BMK81A in C:wampwww` my full code: if ( isset($_POST['BMK81A']) && isset($_POST['BMK81']) && isset($_POST['DL3']) && isset($_POST['DL2']) && isset($_POST['DL1']) && isset($_POST['S1']) && isset($_POST['S2']) && isset($_POST['S3']) && isset($_POST['S4']) && isset($_POST['S5']) && isset($_POST['S6']) && isset($_POST['S7']) && isset($_POST['D1']) && … Web Development php | |
Hello I have copied and pasted a font from my Windows fonts folder into my VB.NET fonts folder. What I would like to do is change the font-style and colour of the title 'Register' (please see attachment) from its current style/colour to the font I have imported. The only reference … Web Development asp.net | |
Hi there, i am using sqlite3 online compiling. I wanted to create a table where one of the employee has a value of unknown salary. Here are my sqlite3 codes. where John Doe works at Burger Steak but his salary is unknown. BEGIN TRANSACTION; /* Create a table called Works … Web Development | |
on localhost add to cart is working fine $config['sess_cookie_name'] = 'ci_session'; $config['sess_expiration'] = 7200; $config['sess_expire_on_close'] = FALSE; $config['sess_encrypt_cookie'] = FALSE; $config['sess_use_database'] = TRUE; $config['sess_table_name'] = 'ci_sessions'; $config['sess_match_ip'] = FALSE; $config['sess_match_useragent'] = TRUE; $config['sess_time_to_update'] = 300; CREATE TABLE IF NOT EXISTS `ci_sessions` ( session_id varchar(40) DEFAULT '0' NOT NULL, ip_address varchar(45) … Web Development php php-codeigniter session | |
I am just starting a project on google map. i am using below link to get user current location [Click Here](http://www.sitepoint.com/working-with-geolocation-and-google-maps-api/) how can i find other nearby users / places based on current lat , long? any suggestion help me a lot. thanks Web Development api google-api javascript php | |
CREATE TABLE IF NOT EXISTS `tbl_person_master` ( `id` int(11) NOT NULL AUTO_INCREMENT, `last_name` varchar(40) DEFAULT NULL, `full_names` varchar(100) DEFAULT NULL COMMENT 'Full first name and middle names', `nick_name` varchar(30) DEFAULT NULL COMMENT 'Most people call you by this name', `identity_number` varchar(13) DEFAULT NULL COMMENT 'National identification number', `photo` varchar(255) DEFAULT … Web Development php | |
Hi Please help me on the below issue, how can we can get the `<span id='newText'></span>` value in php. i am not able to get the value in php variable. <html> <head> </head> <body> <script type="text/javascript"> function changeThis(){ var formInput = document.getElementById('theInput').value; document.getElementById('newText').innerHTML = formInput; } </script> You wrote: <span … Web Development javascript php | |
Hi...tried to send email notification in php but not successful. When i check my email there is no email notification received. Below is the coding. Once the user click notify button, an email notification supposed to be sent to responsible person...Please advise...Thanks a lot. <?php error_reporting(E_ALL ^ E_NOTICE); $_SESSION['Targetid']; $_SESSION["Progressid"]; … | |
Hi, Everyone... I have a php script that writes text to an existing .png file. image 1 - I would like to write / add image 2 too image 1 I have the following script working for the correct score. // add correct score $x = 257; $y = 205; … ![]() | |
I have a table whose view is something like this ID NAME LOCATION DELETE 1 sam US delete I have a statement from the table that deletes the given row echo "<td><a href=\"delete_members.php?id=".$row['id']."\">Delete</a></td>"; It redirects to delete_members.php page and the row gets deleted, however i wish to display an alert … Web Development javascript | |
Hello all, I need help as the support team at rockettheme told me that this is out of their support area and its belong to joomla, but they were kind enough to tell me which file need to be adjusted All I need is to make the image linkable to … | |
array (size=10) 'item-_token' => string 'k4i2tQbZNuKnhV0vqbdBJ0XlwKzGLm09KA0pWa5n' (length=40) 'item-link' => array (size=3) 0 => string 'link 1' (length=6) 1 => string 'link 2' (length=6) 2 => string 'link 3' (length=6) 'item-shop_name' => array (size=3) 0 => string 'a' (length=1) 1 => string 'b' (length=1) 2 => string 'c' (length=1) 'item-color' => … Web Development php | |
Hi All, Over the years I have smashed through God knows how many brick walls with `.htaccess`, and all I've learnt is don't even try to make it complicated as nothing is ever simple. I have therefore resorted in recent applications to using `mysite.com/index.php/category/sub-category/create/` etc. and PHP to get hold … | |
Just a quick question...S_SESSION['variablename'] only works on php files within the same folder? | |
Errors: 1. Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens' in C:\wamp\www\SICS\includes\submitcategory.php on line 75 2. PDOException: SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens in C:\wamp\www\SICS\includes\submitcategory.php on line 75 <?php … Web Development php | |
hi guys.. i have a problem.. what i want is..i have a form with 2 textfield. i want the value after we insert data into it..the data will insert into database in one column..but how to do it?sory for my bad english..:'( my code: <td bgcolor="#A4DDED"> <strong>DL</strong> <input name="NF1" type="text" … Web Development php | |
HI Please help. how to solve this I am using the below code. insert is working fine. but i am having problem in edit session i edit page i can able to display both values from Database. If i am changing the textbox1 value i am not able to get … Web Development javascript mssql php | |
Hi, I'm creating a game where users play daily & earn points. I wanted to record the scores of each user each day for a month. At first, I thought to create 31 columns within the table & store the score in the appropriate date field. But, I think it … | |
Hi, I'm trying to remove a script added by setTimeout(). I tried to use clearTimeout() but seems like it's not working. This is what should happen: Click Btn1 to include the function for btn2. After btn1 is clicked, click Btn2. An alert will be displayed. When btn1 is clicked again, … Web Development javascript | |
Hello, I am trying to input pictures in student profile yet it doesn't work yet. I wonder why? studentinfo.php <?php include('includes/koneksi.php'); $student_id = isset($_GET['student_id']) ? $_GET['student_id'] : ''; $group_id = isset($_POST['group_id']) ? $_POST['group_id'] : ''; $access_level_id = isset($_POST['access_level_id']) ? $_POST['access_level_id'] : ''; $stu_fname = isset($_POST['stu_fname']) ? $_POST['stu_fname'] : ''; $stu_lname … Web Development php | |
I would like to capture the modification date from a log file on the client machine in order to warn users (technical on an internal website) that they have not run updates for a given subsystem. Is there a way to do this? I've done this sort of thing before, … Web Development php | |
Hey guys, I would like to know how much would it normally charge to create a zomato.com clone. Its a restaurant reviewing site where foodies can review the restaurants, bars and cafes. Thanks in advance! :) Peace! Web Development php | |
All, I have an external JavaScript code - which basicially has functionality so that different images are shown when a next or previous button is selected. What I need to do and know is how to pass the value of the image to the querystring as I need to use … Web Development javascript | |
Hi how do you hide a jquery multiselect based on a option in the 1st dropdownlist. For example, when I clicked the 1st item in my dropdownlist it will appear the 2nd dropdown else the 2nd dropdown will not appear http://wenzhixin.net.cn/p/multiple-select/docs/ // multi-select pluginj Web Development javascript javascript-jquery | |
Hi everyone I have a script which contains contains mostly JavaScript. After various bits of user input, it ends up with an array which contains 6 times (hh:mm) and these can be access by times[0] thru times[5]. Obviously these variables would be available on a clients PC. Another PHP programmer … Web Development javascript php | |
Ok so I was asked to add user logs on the website....problem is, I dont know what that is...what it does, what should be considered...why is it important...i tried google but I failed to understand why i have to do user logs....Can anyone give me some tips/ insights..etc...thanks in advance!.. Web Development |
The End.