52,566 Archived Topics
Remove Filter ![]() | |
Hi, This is my problem : foreach ($_POST['a'] as $b) echo $b; $_POST['a'] from my previous page, multiple selection list box (i get this data from my lookup table which user can add data on lookup table). The result from $b is 060100060200060300. Is there any function to split this … Web Development php | |
Hi have this code to manage my main page. Everything works fine on my local server at home,i'm using easyphp. But on my webhosting server i got this error: Warning: scandir(D:\Hosting\12067690\html/,D:\Hosting\12067690\html/) [function.scandir]: Access is denied. (code: 5) in D:\Hosting\12067690\html\index_menu.php on line 65 Any ideas? thank you in advance. <?php $dir … Web Development file-system microsoft-access php web-server | |
Hi , I am displaying description from table dynamically. For that I need Left and right arrows, How to do that? I need with some examples in a simple way. Web Development | |
Hi all, I've been working with PHP, using procedural methods, for several years now, and have begun to explore the object-oriented side of it. While it didn't take me long to understand the potential advantages that come with working in this manner, I'm still having some trouble wrapping my head … | |
hi guys! i am a person who takes interst in the programming and try and implement some basic programs that i come across. I recently came across a site that allows us to see youtube videos as if we are watching it on youtube.(youtube is banned in pakistan and thus … Web Development web-server | |
I have a folder that contains x amount of files with different extensions, I need a way to retrieve all the files with the name 0000001 regardless of their extension, i then have to work with these and then retrieve all files with the name 0000002. I know I can … Web Development asp.net | |
--Create an array to contain the path to the image’s source. Don’t hardcode the path into the array. Use a loop to retrieve the name of the file from the source of the image (ie. <img src="img/house.jpg"/>.-- this is my jQuery $(function(){ var slideShowContainer = $('.slideShow'), slideShowItem = '.slides li', … Web Development javascript javascript-jquery | |
hya im following a video for a conversation system for my site and when i try to post a status the post button isnt going anywhere heres code for it can someone see whats going off ty in advance <?php $status_ui = ""; $statuslist = ""; if($isOwner == "yes"){ $status_ui … | |
Hu Guys, Sorry, my question might sound silly but how can I embbed a class inside echo "<tr><td><img src='data:image/jpeg;base64," . base64_encode($row['product_img']) . "' alt='' /></td></tr>"; I tried echo '<div class="img"><tr><td><img src='data:image/jpeg;base64," . base64_encode($row['product_img']) . "' alt='' /></div></td></tr>'; But it's not working. Looks like I am doing something now quite right Web Development php | |
I the objective of the code that I attached this note is to Collect data in a form. Post to a PHP file where the collected information is turned into a JSON Write the JSON information to a file Return the JSON and print it to the an ID in … Web Development javascript-jquery json php | |
can any one suggest me a link where Insert update delete can be done by one view .. Web Development | |
I have an integer that must remain 8 digits 00000001, it must remain 8 digits after incrementing it. I had it declared as an integer but it wasnt recognising the leading zeros so I have changed it to a string however I need to increment the digit which i cant … Web Development asp.net | |
Hi all, I've decided to work on a new project in my spare time and it involves capturing 30 seconds of video from each registered user. Does anyone have any suggestions as to the most widely accepted/compatible method of capturing video in the browser and storing it somewhere such as … Web Development audio video web-browser | |
I am just learning Aspx using Visual Studio Community 2013 today. While i was able to make the debugging process faster for 5 seconds,still, i had to close the current tab of the website, then hit debug or start without debugging again. Is there a way that if i make … Web Development asp asp.net visual-studio | |
Seriously, I don't know how to use ado.net in MVC, any one how to use aso.net in MVC? any comment is appreciated. Web Development asp.net | |
How to log-in in MVC uing sql server? Any recommendation? | |
having problems with this codes. When tested it keeps giving me the error message "Your message failed to send, please try again. " using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Net.Mail; using System.Net; public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, … Web Development asp.net c# daniweb-feedback | |
hello guys i'm new in php programming, currently i'm developing simple student information system, but whenever i try to populate school name and school code, i face this problem You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right … Web Development php | |
Hi, I am displaying brochure from db under that there is a link for all ,called download, if i click that link I want to download, which I clicked, Web Development php | |
Hello How I can retrive table names from SqlData base I Just connect to DB. and now I want to display all tables name in combobox. how I can do that?? thanks | |
Hi.. I am using Google map to show the route path between the longitude and latitude points. Here the default stroke color of the route path is blue. I want to set it into different colors. That is,from point A to B is reb,B to C is green,C to D … Web Development api google google-api php seo | |
I have some break times available in my module. In one for loop i need to remove break times. I have three break times 11:30 am to 11:45 am and lunch break 01:30 pm to 02:30 pm and tea break 04:30 pm to 04:45 pm <?php $start = new DateTime("09:30 … Web Development php | |
Hello, I am wanting to collect the IP address of anyone that visits my site and submits a form (Saving it to my DB). I have been researching this and have found the following: ` <?php if (getenv('HTTP_X_FORWARDED_FOR')) { $pipaddress = getenv('HTTP_X_FORWARDED_FOR'); $ipaddress = getenv('REMOTE_ADDR'); echo "Your Proxy IP address … Web Development php | |
Hello again. I have insert title, author and content data into table with admin-are page and now want to create a user-view-page.php that everybody enter into that page and see all posts one after an other, something like this model: first title by first author first content seconr title by … Web Development php | |
<?php $con=mysqli_connect("localhost","root","","uplod"); if (mysqli_connect_error()) { echo "Failed to connect to MySQL: " . mysqli_connect_error(); } else{ echo work $sql ="UPDATE tea SET name = ' 8req' WHERE id = '3 ' "or die ("cant update" . mysql_error()); if($sql) echo"working"; } ?> Who can tell me which is error is the … | |
Hello, I want to check difference between 2 arrays I have two array with key value pair. I want to check diff between these two. If there is diff then I will insert. But in some cases, i have extra size in any one of arrays or both array can … Web Development php | |
I'm trying to make a curl through php below is the command line : curl -i -H "Accept: application/json" -d "{"username": "divmesselibrary", "password": "677Sure1@"}" https://openlibrary.org/account/login Please I need your help | |
I currently have a search form on one page that will look up various restaurants within city limits. Once submitted, you will be directed to a second page with the results displayed within a table. I need to filter based on the results that are produced from the overall search … Web Development php | |
Hello, I'm playing with some RSS functions, and I like to fetch/extract the (image:thumbnail) url from the CNN RRS Feed: http://rss.cnn.com/rss/edition.rss In this (and other) RSS feeds there can be mediafiles (image:thumbnail) that seems to be impossible to grab and display together with the rest of the feed output. The … | |
Hello, I am currently using bound parameters in regards to user input on my form. I have read about escape strings also and thought of using both together. Is this possible and, importantly, is it necessary considering I am already using bound parameters? I would like to use both. Thank … Web Development php | |
My PHP code starts like this, <?php // Standard Receipt Data $amount = null2unknown($_GET["vpc_Amount"]); $vpc_message = null2unknown($_GET["vpc_Message"]); $cardType = null2unknown($_GET["vpc_Card"]); $receiptNo = null2unknown($_GET["vpc_ReceiptNo"]); $merchTxnRef = null2unknown($_GET["vpc_MerchTxnRef"]); $transactionNo = null2unknown($_GET["vpc_TransactionNo"]); $txnResponseCode = null2unknown($_GET["vpc_TxnResponseCode"]); $authorizeID = null2unknown($_GET["vpc_AuthorizeId"]); I checked the previous pages for these GET variables ie., vpc_Amount etc., but I could … Web Development php | |
This is a novice question and I hope some one can help. So far I have written 2 forms and a 3rd file. The first pulls every record from a table where the user can choose to modify a particular record. On the second form the user modifies the record … | |
I have a jQuery post problem. I am sending information from a form with a jQuery click function. [code] $("#donateButton").click(function (){ $.post("creditCardAuthorize.php", { amount: $('#amount').val(), description: $('#donation').val() }); $('#rightContent').html(ajax_load).load('content/creditCardAuthorize.php'); }); [/code] The problem is that on some browser it goes to the correct page, but on others it goes to … Web Development first-post javascript javascript-jquery | |
I am trying to add a secondary level to Chris Coyer Magic Line menu. I have made some progress but it is not complete. Right now I am stuck on 3 spots to make it complete. The placement of the secondary menu, the overlay of the secondary menu and the … Web Development html-css javascript javascript-jquery | |
My memory informs me that this is the third time I have tried to upgrade to a 5.3 version of PHP and failed. As best as I can tell, I am not downloading the correct combination of PHP and most likely the Apache server to get a working developing environment. … | |
Hi, I'm trying to make a label visible by clicking on a button. The following code will make the label visible, but will disappear in less than a second. I'm assuming its because the form is getting submitted in the java script, so the page is getting refreshed? Is there … Web Development java-jsp javascript | |
Hello. I would like to ask on how to make a multiple of line for label control. I want to create the code, where when the user key in the value in textbox control, it will display on a multiple line.   Or it has any other … Web Development asp.net | |
hya im following a tutorial through a video and im having issues in the following line its showing a error in my editor $pm_ui .= '<button id="pmBtn" onclick="postPm(''.$u.'',''.$log_username.'','pmsubject','pmtext')">Send</button>'; see full code below including this line if anyone can help be much appreciated <?php // Protect this script from direct url … | |
<a data-toggle="modal" data-id="<?php $row_dtodaytransferRecordset1['id'];?>" href="#mymodal" class="open-dialog btn btn-primary btn-xs" data-target="#myModal" >view passengers</a> <!-- pop up starts here for view passengers --> <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> <?php $id = $row_dtodaytransferRecordset1['id']; mysql_select_db($database_cn, $cn); $query_paxRecordset1 = "SELECT … Web Development php ![]() | |
I want to ask how to update data in database? I'm using the code as the below. string value1 = TextBox1.Text; string value2 = TextBox2.Text; string value3 = TextBox3.Text; string value4 = TextBox4.Text; string value5 = TextBox5.Text; string strsql = "Update Form Set Name='" + TextBox2.Text + "', Designation='" + … Web Development asp.net | |
I have database 'website' having fields - title, url, snapshot to collect information of websites . Users will fillup the form so, There is no file input for fileupload. Form have inputs for title & url. How to generate snapshot using 'imagegrabwindow' or other php functions for given url? How … Web Development file-system php | |
Hi all, I am trying to populate text on my website from data stored in a MySQL database. I have this script before the <head> of my HTML to establish the connection: <?php $username = "USERNAME"; $password = "PASSWORD"; $hostname = "127.0.0.1:3306"; //connection to the database $dbhandle = mysql_connect($hostname, $username, … | |
i am trying to get to modify this script . i have a form that returns the longditude and latitude from google map api. I am trying to insert that data into a new form. With a lot of uyahoogling i made some progress but canyt nail this down or … Web Development api google-api javascript javascript-jquery | |
Any body help me to get click value in another page using sessions my code is <table class="table table-condensed"> <thead> <tr> <th>S No</th> <th>Student Name</th> <th>Standard</th> <th>branch</th> <th>Action</th> </tr> </thead> <tbody> <?php $candarr=explode(",",$cand_id_mul); $count=count($candarr); for($i=0;$i<$count;$i++){ $cand_id=$candarr[$i]; $rt=mysql_query("select * from candidate where cand_id='$cand_id'")or die(mysql_error()); $count_rt=mysql_num_rows($rt); while($row_rt=mysql_fetch_array($rt)) { $cand_id=$row_rt['cand_id']; $_SESSION['cand_id']=$cand_id; echo $cand_id; … | |
Hi all :) I'm using VB 2008 and VB.NET I have a database data. Each column namely as name, age and hobby. For 1 person have more than one hobby. Each time user key in the name, it will directly display their age and hobby. So, I need to loop … | |
Dear Sirs, I have two tables (Clients and Country), my below php code is for creating a new client with a dropdown box from country to insert the id_country into clients table. When click add new nothing added to table clinets: any help please: <?php $jsFile = 'newClient'; // Add … | |
i would like to know if php can replace javascript as a client side script. one can use javascript to do all kinds of things like computing values in textboxes and check them for errors and so on. is it possible to use php in its stead? lets say i … Web Development client-server javascript php web-server | |
Any body help me. I am getting Notice: A session had already been started - ignoring session_start() in C:\xampp\htdocs\ramu\Online Admission\multicand.php on line 78 <table class="table table-condensed"> <thead> <tr> <th>S No</th> <th>Student Name</th> <th>Standard</th> <th>branch</th> <th>Action</th> </tr> </thead> <tbody> <?php $candarr=explode(",",$cand_id_mul); $count=count($candarr); for($i=0;$i<$count;$i++){ $candunique=$candarr[$i]; $rt=mysql_query("select * from candidate where cand_id='$candunique'")or die(mysql_error()); … | |
![]() | Hi, Im creating a website and i basically need to do the following. I have a drop down menu with names in it. What I need is on the selection of one of those options in the drop down menu, that information which is wriiten into the drop down menu … Web Development php ![]() |
The End.