52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for slowlearner2010

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
Member Avatar for slowlearner2010
0
160
Member Avatar for madmax9922

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 …

Member Avatar for broj1
0
2K
Member Avatar for AntonyRayan

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
Member Avatar for AntonyRayan
0
154
Member Avatar for jay.barnes

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 …

Web Development php regex
Member Avatar for jay.barnes
0
420
Member Avatar for A.Muqeetkhan

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
Member Avatar for A.Muqeetkhan
0
183
Member Avatar for coder91

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
Member Avatar for gusano79
0
128
Member Avatar for chichi9

--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
Member Avatar for DaveAmour
0
327
Member Avatar for janicemurby

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 …

Web Development php video
Member Avatar for janicemurby
0
309
Member Avatar for london-G

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
Member Avatar for london-G
0
314
Member Avatar for rouse

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
Member Avatar for rouse
0
579
Member Avatar for erum

can any one suggest me a link where Insert update delete can be done by one view ..

Web Development
Member Avatar for erum
0
172
Member Avatar for coder91

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
Member Avatar for coder91
0
639
Member Avatar for mmcdonald

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
Member Avatar for mmcdonald
0
288
Member Avatar for Heanre

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
Member Avatar for pritaeas
0
146
Member Avatar for JerrimePatient

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
Member Avatar for DaveAmour
0
250
Member Avatar for JerrimePatient

How to log-in in MVC uing sql server? Any recommendation?

Web Development asp.net sql
Member Avatar for JerrimePatient
0
188
Member Avatar for get2tk

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
Member Avatar for DaveAmour
0
1K
Member Avatar for punji

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
Member Avatar for punji
0
459
Member Avatar for AntonyRayan

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
Member Avatar for jj.dcruz
0
100
Member Avatar for Nada_ward

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

Web Development asp.net sql vb.net
Member Avatar for Karthic_1
0
2K
Member Avatar for divyakrishnan

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
Member Avatar for almostbob
0
4K
Member Avatar for ramsiva

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
Member Avatar for ramsiva
0
189
Member Avatar for mattyd

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
Member Avatar for jj.dcruz
0
1K
Member Avatar for Niloofar24

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
Member Avatar for Niloofar24
0
312
Member Avatar for phoenix254

<?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 …

Web Development asp mysql php
Member Avatar for phoenix254
0
224
Member Avatar for Priti_P

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
Member Avatar for cereal
0
220
Member Avatar for Prince_9

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

Web Development json php
Member Avatar for broj1
0
337
Member Avatar for mgreiner28

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
Member Avatar for mgreiner28
0
283
Member Avatar for TobbeK

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 …

Web Development asp.net seo
Member Avatar for TobbeK
0
314
Member Avatar for mattyd

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
Member Avatar for mattyd
0
273
Member Avatar for vishal_isharani

I want to Create a Forum For My Project But I don't Know The Process And Please Suggest Me Any Free Template Thank You

Web Development html-css php
Member Avatar for vishal_isharani
0
240
Member Avatar for Babu_1

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
Member Avatar for cereal
0
184
Member Avatar for rouse

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 …

Web Development mysql php
Member Avatar for rouse
0
266
Member Avatar for rouse

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 …

Member Avatar for rouse
0
196
Member Avatar for rouse

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 …

Member Avatar for rouse
0
487
Member Avatar for rouse

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. …

Web Development apache php seo
Member Avatar for rouse
0
258
Member Avatar for Danny_501

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
0
224
Member Avatar for nimz143

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. ![2.PNG](/attachments/large/4/c5c95915ac6ea04ae8a7d51eb1eabba8.PNG "align-center") ![1.PNG](/attachments/small/4/15eb5b804dd55090dbc513fbc208501f.PNG "align-center") Or it has any other …

Web Development asp.net
Member Avatar for AleMonteiro
0
156
Member Avatar for janicemurby

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 …

Web Development php video
Member Avatar for janicemurby
0
207
Member Avatar for daudavie

<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
Member Avatar for diafol
0
14K
Member Avatar for muhamadtaufiq.zaki

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
Member Avatar for Stuugie
0
242
Member Avatar for vizz

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
Member Avatar for chrishea
0
161
Member Avatar for James_43

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, …

Web Development mysql php
Member Avatar for jj.dcruz
0
303
Member Avatar for edbr

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 …

Member Avatar for DaveAmour
0
151
Member Avatar for ramsiva

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; …

Web Development php session
Member Avatar for DaveAmour
0
181
Member Avatar for nimz143

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 …

Web Development asp.net dataset
Member Avatar for DaveAmour
0
122
Member Avatar for ribrahim

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 …

Web Development html-css mysql php
Member Avatar for ribrahim
0
327
Member Avatar for Ravenous Wolf

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 …

Member Avatar for abexer
0
426
Member Avatar for ramsiva

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()); …

Web Development php session
Member Avatar for ramsiva
0
232
Member Avatar for Andrew_23

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
Member Avatar for Andrew_23
0
159

The End.