52,566 Archived Topics
Remove Filter ![]() | |
Rewrite rule get variable problem This example code RewriteRule ^(.*)/(.*)$ /media.php?hal=$1&id_image=$2 [NC,L] Web Development php | |
Hello, I am looking for a way to place an automatic . (dot) or , (comma) for every multiple of 3. I only find the mask to do so but it requires the user to input the exact amount of numbers: <script type="text/javascript"> $(function() { $.mask.definitions['~'] = "[+-]"; $("#numbermask").mask("999,999,999",{completed:function(){alert("completed!");}}); $("input").blur(function() … Web Development php | |
I just need help regarding my problem in editing an imploded input text from the database: I have a dynamic input text which means that you can add more input field if you click the add more button. My problem is that when tried to edit those text fields the … Web Development javascript-jquery php | |
I have a custom error-handler class (actually it's an exception handler) So, when an exception is thrown, then it'll be caught and stored in the error-handler class.. After all the execution, All the errors will be shown by the class.. Is it a good or bad practice ? Does it … Web Development php | |
Hi, I have php page, 2.php, which collects the data and dispalys it from previous page , 1.php. In 2.php, I also have html and javaScript, which contains a button, and cerresponding onclick script, which opens the OUTLOOk to send the E-mail with given sendername and subject. But for body … Web Development javascript php | |
Dear friend, i have 2 tab 1) atab 2) qtab.. when i put question and options answers .. i use three forms qset.php, Ans.php and result.php here are code what i want that email of user updated after click button submit code is below ans.php <?PHP include "conn.php"; //session_start(); ?> … Web Development php | |
How I can display elements of the following object ? e.g : data -> percent_off As I stored following like : $input = file_get_contents("php://input"); $retun_val = json_decode($input); stdClass Object ( [id] => evt_151H4qEfYJJpTpgqdg5eQvIK [created] => 1416575036 [livemode] => [type] => coupon.created [data] => stdClass Object ( [object] => stdClass Object … | |
Hi guys ! I am using rewriting rules to redirect some URLs, but search engines crawling both URL (Rewritten and Real URLs). For example : **Real URL :** www.catchcoupons.in/storecoupon.php?cid=Flipkart **Rewritten URL :** www.catchcoupons.in/coupon/Flipkart.html Search Engines are crawling both URLs, even i want search engines to index only Rewritten URLs (http://www.catchcoupons.in/coupon/Flipkart.html) … | |
Hello, In my index.php file front page at first, it has a xampp logo - then in order to erase it I have to place this code: <!-- Favicons --> <link rel="shortcut icon" href="img/icons/favicon_.ico"> <link rel="apple-touch-icon" sizes="114x114" href="img/icons/apple-touch-icon-114x114.png"> <link rel="apple-touch-icon" sizes="72x72" href="img/icons/apple-touch-icon-72x72.png"> <link rel="apple-touch-icon" href="img/icons/apple-touch-icon.png"> by miss leading the favicon … ![]() | |
[CODE=php] <?php //get the variables $var = $_POST['query'] ; $trimmed = trim($var); $table = $_POST['table']; //make connection $conn = mysql_connect('localhost','root','123') or die("Error:".mysql_error()); mysql_select_db('sutilities',$conn) or die("Error:".mysql_error()); //delete temp search table $del_table = "drop table search"; #mysql_query($del_table) or die ("Error:".mysql_error()); // Create a MySQL table in the selected database #mysql_query("CREATE TABLE search( … | |
hello people daniweb....just want to ask honest oppinions from you guys, because this has been bugging me for years. I've been a PHP developer for 5 year using windows. So far so good. i am able to accomplish the task at hand. but there's always back of my head saying, … | |
Hi, I have three folders in my project named as apache, php and mysql. I want to update my php,apache and mysql to latest version but I do not want to reinstall all the system again. My system works in this way that we copy all the folders and install … | |
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'a5247065_funmaza'@'localhost' (using password: YES) in /home/a5247065/public_html/includes/connect.php on line 2 When I uploaded my website on web hosting that error occurs...plzz help me Web Development php | |
I have two tables that I would like to work together (stories and events). Stories is a table that is used to produce articles on a website and events is a series of events put into a table. I would like to be able to add events to story based … | |
Hi people I need some advice off you please. I'm creating a quiz for the website that I'm creating for my portfolio to help me to get a graduate job. I want to get 20 questions (at random) I think I have got this sorted now. But when I try … Web Development php | |
hello dani friends. i'm working on webdesign and web developement from 2 years autolearning on interent. now i'm capble to make a website for a client using php/mysql and html5/css. but i dont know when i will deliver the site for my client how he will be able to add … Web Development html-css | |
I am using a Crud plugin and i am having some problems. After i modifie it for my needs i ma having a problems creating a records. Error code is in line 186. this is my code please help.. <?php require 'database.php'; if ( !empty($_POST)) { // keep track validation … Web Development css-bootstrap html-css php | |
Hello, I am trying to protect my xampp with password: by accessing this url: http://localhost/security/xamppsecurity.php This is the view : http://www.innovation.web.id/xampp-security.jpg I wonder why my xampp security view in localhost is different from my xampp security view in the server? I already re-install my xampp 4 times (these are the … Web Development php | |
Hi, This is is my php: <?php if($_SERVER['REQUEST_METHOD'] == 'POST') { echo '<h1>' . $_POST['word'] . '</h1>'; echo '<p>' . $_POST['sentence'] . '</p>'; } else { echo 'Invalid request'; } ?> How can I get the echo displayed in a CSS box or Javascript popup window. Any help appreciated. Thanks Web Development php ![]() | |
Go Back to Previous Spot on PageI'm using list of page in one page sometimes I have a longer list of items. When the user scrolls down the page and clicks on the item, they go to a detailed view for that item. If they hit the back button on … Web Development gui javascript javascript-jquery | |
Hi Everyone, I have the following prepared statement and I am having problems displaying data from my test db Can someone help me out please. $STM = $dbh->prepare('SELECT * FROM tbl WHERE var = :lsecure'); $STM->bindParam(':lsecure', $var); $STM->execute(); $count = $STM->rowCount(); $row = $STM -> fetch(); if($count > 0){ foreach($results … | |
Dear Friends iam facing a problem in the pagination. It was working fine in my offline wamp server when i moves it to the online it was showing Warning: mysql_real_escape_string() expects parameter 2 to be resource, integer given in /home/pps/public_html/news_and_events.php on line 10 Please help me I have gone through … | |
Im new to PHP, i just want to know if theres any rule in php in terms of single statement multiple lines. for example in VB.Net we uses "&_"(w/o the quote) to tell vb.net that it is a single statment and it has a continuation. is there any in php? … | |
Hi All, When i am trying to open any php file by Macromedia Dreamweaver 8, i am getting an error. " Please reinstall your software" A problem was detected with your application. Please reinstall this software to correct the problem" I had reinstalled and installed it , but issue still … Web Development php ![]() | |
Hello guys, I have a simple asp.net form and ideally, upon submission, I'd like to forward the form data to an email address. Here is the form: <div class="contactForm"> <h2>Contact me</h2> <div class="form"> <div class="control-group"> <label class="control-label" for="title">Title</label> <div class="controls"> <select id="title" runat="server"> <option>Mr</option> <option>Ms</option> <option>Miss</option> <option>Mrs</option> </select> </div> </div> … | |
Hi all, I have visual studio 2008 and as I recently started to use it, I still develop the HTML from scratch and then move it to ASP.NET. Anyway, when I did my last site and uploaded the CSS in visual, I got quite a lot of CSS 3 error … Web Development asp.net html-css visual-studio | |
Dear firnds, I want to upload my php Forms and database...I am using godaddy.com i have my login and pwd.... I uploaded Survey project Php files and database.please,check my conn.php file code is below <?php $username="mydbphp@182.50.131.34"; $password=""; $server="166.62.8.51"; $db="mydbphp"; $conn=new mysqli($server,$username,$password,$db); if(!$conn){ echo "Connection not established"; } ?> please, suggest … Web Development php | |
Hi all, I want to make a Auto Complete Text Input like a list, it similar or the same as form post status of facebook in below picture, I known it can make by ajax and jQurey, so who know link demo, link guide, or example to make it, may … Web Development php | |
Hello. I have one problem with only one text witch shows two times (i want only once) Here is picture: http://i.imgur.com/cfOrBCs.png Maybe the for cycle loops this text and...this is happen. I want to show only once in the middle. Here is code: var matchcount = 4; $.ajax({ type: 'GET', … Web Development cdn javascript json xml | |
Hi its me again =), See the code below: <style> td{ width:150px; } </style> . . . echo'<table> <tr> <td>TITLE</td> </tr> </table> . . . Im trying to style the <td> width in css but php doesnt recognize it. I've also tried this <td style="width:150px">TITLE</td>. Do you have any idea … Web Development php | |
Hello, I am trying to control the table width for the form text and input box. I can't even control the main table width with this code: <table border="1" style="width: 10%;"> the width is still too large. I cannot make it smaller. Evenif I change the percentage or pixels into … | |
Long story short, I inherited an ASP project. I recently was subject to an SQL injection attack. I'm trying to update the search field that allowed the sql attack. I'm no ASP guru at all and would really appreciate any help anyone can give me on how to check the … | |
I need to set a default value in a combo box and i cannot figure it out. Sorry I am new to Javascript (and web development). I am not really asking someone to write the code for me but point me in the right direction. Function BuildTechnicianListDropDown(strSelectBoxName, intLockID) Dim rst, … Web Development | |
hya can someone take a look at this coding its for view profile and it has a on/offline on it when i log in it shows offline and nothing echos through see pic  <?php include("config/db_connect.php"); $profid = $_GET['profid']; // code for user details $query = mysql_query("select * from … Web Development html-css javascript-jquery php ![]() | |
Hello guys does any one knows about the wordpress. I need to create a referal program in wordpress like someone wants to register on the website and been reffered by someone he or she would be required to provide a referall code so we would be able to see who … | |
Hi, I am trying to fetch username from session variable of one php page to another php page. This below code fetch username from login page <?php $uname = $_GET['uname']; @session_start(); if($_SESSION[$uname]) { ?>.... //Remaining Code When I click submit button to go to my next php page I want … | |
This is regarding the sending E-mail using php and OUTLOOK. I have a "php page" which collect output from previous page. once clicking on send button, it should open my OUTLOOK client, which should have collected data as the body of email. | |
Below is my code. I want to make a calculator using javascript. The script will check weather you enter a diget. If not it will display a message on the screen saying to enter one. However I want the paragragp "answer" to display the message. I cant seem to get … Web Development html-css javascript | |
Hello , I have this error Deprecated: Function split() is deprecated. How can i resolve this problem. I use explode and preg_split but the problem persist $add=long2ip($result["ip_src"]); $mask="24"; $ipNetmask = $add."/".$mask; list($ip, $netmask) = split("/", $ipNetmask ); $ip_elements_decimal = split("[.]", $ip ); $netmask_result=""; for($i=1; $i <= $netmask; $i++) { $netmask_result … Web Development php | |
re, I required multiple list(checkboxes) download option in core Php. I have generated web app using core Php. There I have written report generation code. Pls help me to write the download script. Web Development php | |
I have the following code in my web page <div class="RegFieldsCountry"> <ajaxToolkit:ComboBox ID="Country" runat="server" CssClass="RegComboEntry" TabIndex="8" Width="180" ValidationGroup="SetUserValGroup" AppendDataBoundItems="true" DropDownStyle="DropDown" ToolTip="Country Selection" BackColor="#C0C0C0" ValidateRequestMode="Enabled" EnableViewState="true" ListItemHoverCssClass="CountryHoverListItem"/> <asp:RequiredFieldValidator ID="RequiredRegComboValidator" runat="server" ControlToValidate="Country" ErrorMessage="Η επιλογή χώρας επιβάλλεται." ToolTip="Η επιλογή χώρας επιβάλλεται." ForeColor="red" ValidationGroup="SetUserValGroup" CssClass="RequiredValidator"/> </div> What I get from that is a ComboBox … Web Development asp.net | |
Dear friends, I am developin g online survey form. Please, suggest me i have a question.and three options for answer.for example-: What is your favirite Country? A-Pakistan B-India C-USA now i put redio buttons against them.Users will come and vote for countries. and he can view result after vote that … Web Development php | |
<html> <head> </head> <body> <div align=center> Login <form name="form1" method="post" action="b.php"> <div align="center"> <table border="1"> <tr> <td width="120">Username :</td> <td width="144"><input name="user" type="text" id="user"></td> </tr> <tr> <td width="120">Mot de passe : </td> <td width="144"><input name="password" type="text" id="password"></td> </tr> </table> </div> <p align="center"> <input type="submit" name="Submit" value="Enter"> </p> </form> </body> </html> … Web Development php | |
Sorry guys, I'm just really excited about this. My very first use of Polymer Tags (Need Chrome) [Live Core-Header-Panel](http://www.mysnippets.solvoterra.com/) Looking forward to developing with this. What are your thought's on the fast aproaching Polymer Tags? Web Development google | |
hi all.. using .htaccess how to rewrite this http://mydomain/page-name/ to http://mydomain/page-name.html ? pls help me to solve this... tnx in advnc. | |
I manage to display data using below query that will show value for each month. How to calculate average value starting july onwards(based on user selection). Let say the value for element 'A' are Jul=66, Aug= 65, Sep=87. If user select Aug then the average is 65.5 and if user … | |
I want to disable the user for 6hrs when he inputs the wrong password 3 times i'm using mysql... please help me... and this is my usercheck.php [code=php] <?php session_start(); include("config.php"); if (isset($_POST['sub'])) { $myusername = $_POST['txtusername']; $mypassword = $_POST['txtpassword']; $name = stripslashes($myusername); $password = stripslashes($mypassword); $myusername = mysql_real_escape_string($name); $mypassword … Web Development php ![]() | |
Hello, I want to print a letter from a html page. But within the letter, I want it to contain the name of each student on the database. It is the same letter but I want to print/download it having each student's unique name. Web Development php ![]() | |
The End.