52,566 Archived Topics
Remove Filter ![]() | |
Hi, please first you visit this site http://www.webdo.x10.mx/ this is my practice site.I just starting my php carrer.here i create a search option with button but its not working as my expectation.i think its code is OK".here the code.. <?php $connect=mysql_connect('localhost','root',''); $mysql_db=mysql_select_db('my_database',$connect) or die(mysql_error()); //db name:my_database if (isset($_POST['search_name'])) { $search_name= … | |
Hi, This is my first post.I just starting php Hope everyone reply me as possible as. I have signup problem.When i filled the form and click sign up button then it nothing show any result i mean its not home.php "welcome" message and also not store date in my mysql … | |
Dear Everybody Does anyone know any idea for a graduation project in the field of computer engineering plzzzz help me :( ..... i dnt know any idea :'( thanx Web Development engineering | |
Good Day Guys This is an MVC , JQuery, KNockout.js Question. i have a Controller Action that is being Defined like this [HttpGet] public JsonResult SearchCars(string searchString) { string[] searchTerms = (searchString).ToUpper().Split(new char[] { ' ' }, StringSplitOptions.RemoveEmptyEntries); string[] searchTermSounds = new string[searchTerms.Length]; var list = (from r in Cache.CarSearchItems … Web Development javascript javascript-jquery json queue ![]() | |
Hello all, i get this error while inserting and udating some tables.Duplicate entry '9105224' for key 'PRIMARY'error no:1062error:1062 .number 9105224 is randomly generated and set in u_id field in one of the tables in MYSQL, which is set to unique and primary.The sql querries are working fine and the rows … Web Development php | |
![]() | I was looking at using the Ext JS 4.1 (http://www.sencha.com/products/extjs/) , it promisses to enable developers to use the model-view-controller (MVC) architecture when building their app. can someone give me an example of how I can use the Ext JS 4 with MVC? if I wanted to create a form … Web Development javascript software-architecture ![]() |
Hi please help, im new at this stuff!! I cant find the error here!! I have the following error on the top of my website: Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\ITAffair\templates\md-corporate\index.php on line 15 The first couple of lines of code in my index.php file … | |
I have developed a test site in asp.net. While it is in running of the in built webserver it functions fine and am able to access the database (msde). But when i host it on IIS server on the same machine I get the following error whenever the site accesses … | |
do you know how can i put a hyphen (-) after 3 digits of a number(starting from the end) in php? example: the number 9787897878 to be shown as 978-789-7878?? | |
I need to fetch questions with 4 optional answers from dtabase.... tables are questions | options...html code is below... <table width="536" height="54"> <tr> <td class="deco">Q<?php echo $index.") ".$questions; ?> </td> <td width="15"></td> </tr> <?php while($row_wrong_ans = mysql_fetch_array($res_wrong_ans)){ $op_index = $row_wrong_ans['fbo_index']; $op = $row_wrong_ans['fbo_ans']; ?> <tr> <td width="473"><input type="radio" name="radio[<?php $index;?>]" … | |
Hello, I'm having a weird problem with some PHP when outputting some HTML. For example: echo "<h1>There are errors!</h1>"; foreach($errors AS $error) { echo $error . '\n'; } exit(); I want the output to actually show the text in H1 style, however the output is like this: <h1>There are errors!</h1> … Web Development php | |
require_once(LIBRARY_PATH . "phpmailer.php"); require_once(CONFIG_PATH . "emailconfig.php"); class email { public function sendMail($from,$fromname,$subject,$content,$to){ $mail = new PHPMailer(); $mail->SMTPAuth = SMTPAuth ; $mail->IsSMTP(); $mail->SMTPSecure = SMTPSecure; $mail->Host = Host; $mail->Port = Port; $mail->Username = Username; $mail->Password = Password; $mail->From = $from; $mail->FromName = $fromname; $mail->Subject = $subject; $mail->Body = $content; $mail->AddAddress($to); $mail->IsHTML(true); … | |
Hi guys I'm just starting to built dynamic php site but while testing (pasted url/embed) videos from youtube I get this error. 403 Forbidden Access to this resource on the server is denied! I use a form to post to the database. It works for everything else except embedded video … | |
![]() | Hi all, just walked into a door with a problem I recently helped out with. I was testing whether a value was a positive power of 10 (1,10,100 ...) -> (0,1,2 ...). So I thought I'd use log10(). Now I know that log10() returns a float type. But testing this: … Web Development php ![]() |
Hey, I have the following code and I am trying to get Google Maps API to add a parker to each location and thats working fine! However, I cant seem to get my tab's working in each info window? Here is my code: <script type="text/javascript"> var locations = [ ['Jackson … Web Development api javascript seo | |
Hai guys, I need to enable the phone gps in order to get accurate geolocation from the web browser... I have this Javascript.. but the script did not enable the gps.. it only obtain using network method.. triangulation ... anyone please help me on this..? // this is called when … Web Development javascript web-browser | |
[kn3rdmeister.com/feed/](http://kn3rdmeister.com/feed/) I'm going to admit that when I made my website and feed, I was very much copying the styles and structures of [mega64.com](http://mega64.com), especially the way their RSS feed was built. I know that it's made by WordPress, and not Mega64 themselves, but still, it's their feed. I'm a … | |
Hi, I am having a bit of trouble with a login scritp I have written. I have a script setting some cookies (so i know when the user is logged in) and on my other pages i use a scrip to see if they are logged in, If they are … Web Development php | |
Hi, I have this script here: Enter Chat and press enter <div><input id=input placeholder=you-chat-here /></div> Chat Output <div id=box></div> <div id=pubnub pub-key=demo sub-key=demo></div> <script src=http://cdn.pubnub.com/pubnub-3.1.min.js></script> <script>(function(){ var box = PUBNUB.$('box'), input = PUBNUB.$('input'), channel = 'chatlllll'; PUBNUB.subscribe({ channel : channel, callback : function(text) { box.innerHTML = (''+text).replace( /[<>]/g, '' ) … Web Development api cdn javascript | |
P.S i know title sucks but i couldn't think of an appropriate title to explain this:( Well i tried to think over this matter for days but couldn't found the logic of how it is done, so i guess only you guys can help me understand this some of you … Web Development php | |
Hi everyone, I'm using jquery in this piece of script and also trying to call the functions. But, they aren't working at ALL and the firefug is saying that there is an error in the script. The error is [QUOTE]missing ) in parenthetical [Break On This Error] $.post('ajax/like_add.php', (article_id:article_id), function(data){ … Web Development javascript javascript-jquery | |
Hi! Just wanted to know if there is any special syntax to get values in <option> with a space between words. For example: <form action="abc.php" method="post"> <select name="study_class"> <option value="Class 1">CLASS 1</option> <option value="Class 2">CLASS 2</option> </select> </form> Can php recognize "Class 1" or "Class 2" or will it recognize … Web Development php | |
I would like to know how to avoid the OUTPUT of var_dump($abc); from showing in the output screen and instead use it to feed a variable. Well, I am trying to put the output of `<form><select name="study_Class"><option value="word1 (space) word2">word1 word2</option></form>` into php program as an array as shown below … Web Development php | |
Hi all, I'm newbie in asp. I have a problem to delete the record on sql. I have one form for different users to insert data into sql where every user have are unique id, so it's possible to have multiple record with same unique id, then display the data … | |
protected void Button1_Click(object sender, EventArgs e) { try { SqlAddGroup.InsertParameters["mem_email"].DefaultValue = Session["User"].ToString(); SqlAddGroup.InsertParameters["groupname"].DefaultValue = Txtgroup.Text; SqlAddGroup.Insert(); Label1.Text = "Group has been added"; } catch (Exception ex) { Label1.Text = ex.Message; } } <asp:SqlDataSource ID="SqlAddGroup" runat="server" ConflictDetection="CompareAllValues" ConnectionString="<%$ ConnectionStrings:PadmaSMSConnectionString %>" DeleteCommand="DELETE FROM [group] WHERE [sno] = @original_sno AND [mem_email] = @original_mem_email … | |
Here is the php code that I have. I am trying to take the average of the array and then take the avearge and the display numbers from the array that are less then the average using a foreach loop then an if statement inside the foreach loop. <?php $total … Web Development php | |
Hi peeps, I was thinking to develop something similar to this http://www.toyota.co.uk/cgi-bin/toyota/bv/generic_editorial.jsp?navRoot=toyota_1024_root&noLeftMenu=true&edname=See-the-range&zone=Zone+See+the+Range&id=SeeTheRange_Link It is in flash now, and I would like to have something similar in jquery, what would be the best way to proceed do you think? Any advice? thank you Web Development javascript javascript-jquery | |
peeps, given the following markup <link rel="stylesheet" type="text/css" href="assets/style_images.css"><!-- MY CSS --> <script type="text/javascript" src="assets/big_images.js"></script> <div class="car_model_description"> <div class="compare_button"> <a href=#><img src="assets/compareBTN.png" alt=""></a> </div> <p id="caption">Default text</p> </div> <div class="image_container"> <img src="wathever.jpg" alt="" id="placeholder_image" > <img src="wathever1.png" alt="" class="image_invisible"> <IMG SRC="wathever2.png" alt="" class="image_invisible"> <IMG SRC="wathever3.png" alt="" class="image_invisible"><!--to change --> <IMG … Web Development javascript | |
Here are my two pages I am using to edit. One is the HTML form and the next is the code to insert the changes. I have looked overthis code for a few hours and have not seen anything wrong. I hope it is not something super simple or I … Web Development mysql php windows-virus | |
hi all! lame programmer here again.Please explain this thing..seems like it has truth table and stuf.anding oring etc..plz explain how this will execute.need simple explanation so i wont forget throughout my life..:D if (!(mysql_query($sql,$con)) || !(mysql_query($sql_pin,$con))) { if(mysql_errno()==1062) { $error_flag=1; echo mysql_error(); echo "error no:".mysql_errno(); die("error:".mysql_errno()); } $error_flag=1; } else … Web Development php programming-construct | |
Hi all, I realise that this has been asked probably many times. I have searched but have not been able to find the relative answer - most likely not searching properly?? Anyway, what I would like to do is to display multiple images relating to one topic, ie. One member … | |
Hello everyone we search many days to create a php mail contact form in flash 8 and after all we cannot make this Acually we want to add more fields in my flash contact form please anybody help How to more fields we use this Action Scripts in Flash and … Web Development actionscript email flash php | |
Hello all, Can someone kindly help me with a code to automatically archive data by month-end and year-end. Web Development php | |
Hi All, I have code that dynamically retrieves data with jquery AJAX. when i want to insert data into database via PHP **$_POST** method it cannot grab `select tag` (option) value in Mozilla and Chrome. But it works perfectly in IE. Below is my code. <?php if($_GET['func'] == "drop_1" && … Web Development javascript-jquery php tablet | |
<html> <body> <?php $i=1; echo"$i"; if(up) ++$i; ?> </body> How can i add one to $i when a button is clicked? Web Development php | |
Hi everyone, Ok, Im new to the forum so I hope I've placed the question in the right place, and here it is : I am developing a silverlight application that uses Bing Maps. The Idea behind the application is that to help land owners (farmers , agronomy businessmen) visualize, … | |
Hello everyone! I'm have a text file's contents, its output in the browser and a php file (which I'm including below.) What I need to do is search for a specific line in the text file and delete it. The problem is that the end result will have a text … Web Development file-system php | |
hi, i have created a solution project in Visual Studio. The solution project contains an ASP.net application project and several class library projects. now one of my class library is accessible by other projects by adding class library dll in it. now i want to hide my one of class … Web Development asp.net c# microsoft-access | |
Hello people, First of all, i'm not an experienced ASP coder at all, i usually do php/java so i'm still kinda puzzled by this language. For my current project, i need to update a piece of an intranet, written completely in ASP. since it can't be reached from my position, … Web Development asp microsoft-access mssql open-source visual-studio | |
I am trying to use a modulo to make all even numbers replaced with a star and all odds replaced with a percent sign... this is my code: <?php $x=0; $min=900; $max=2000; // initialize array of random values $random_array = array(); // initialize temporary array for sorting $temp_array = array(); … Web Development php | |
Dear DANIWEB community members, I have a question about sorting a label, and I've tried so hard in figureing it out but I realized that I am doing something wrong but not sure what... What I am doing is sorting the numbers, which is created by the loop, that populate … Web Development php | |
Hello Everyone, I am trying to pull some info from a MySQL database. The problem is that, for every four rows that are fetched, I need to add a div tage before and after, so here is an example of what I want: This is the static way I have … | |
Hi, i have a dropdown list where i have 3 options like <tr> <td><?php echo $entry_shippingtype; ?></td> <td><select name="type"> <option value="free">Free Shipping</option> <option value="flat">Flat Rate Shipping</option> <option value="weight">Weight Based Shipping</option> </select></td> </tr> <tr> <td><?php echo $entry_shippingamount; ?></td> <td><input type="text" name="shippingamount" value="<?php echo $shippingamount; ?>" /></td> </tr> When i select free … Web Development javascript | |
| |
hi, i am looking at using a html5 script that helps draw on a canvas, how can i then save this to my database in a blob to then be shown again on the page at a later date? the code is: function RoSave(frm) { var strImageData = canvas.toDataURL(); $.ajax({ … Web Development php | |
I AM INTERESTED TO FIND OUT IF PHP CAN BE USED TO SET UP A POS SYSTEM? IF POSSIBLE, HOW? Web Development php | |
I have this rather large form that I need to grab all the user input from and email it. My problem is there are a mixture of normal feilds and then parts of the form are set up in tables. I'm not sure how to go about naming each of … ![]() |
The End.