39,393 Topics

Member Avatar for
Member Avatar for Indians

![d7f49899d09d4dd84f5105080c780de5](/attachments/small/4/d7f49899d09d4dd84f5105080c780de5.PNG "align-left") here i attached one image. look at this.if i selected the Guest Currency then automatically Guest Currency Value should shown in the next text box. how to do that? is there any javascript, jquery plugin? Guest Currency : <select name="gcurrency" tabindex="21"> <option value=""></option> <option> INR India Rupees </option> …

Member Avatar for diafol
0
3K
Member Avatar for makeithappen

Hello, I know this is a very elementary question but after reading and trying for over four hours I know I need help or some direction. All I am trying to do is select options from two drop down boxes and two different msql selects. The the drop down boxes …

Member Avatar for diafol
0
178
Member Avatar for sh4bbz

hi, i created this code a long time ago and during that time i had all the info i needed to do a save as PDF but now its all gone and the client wants that option so no one can change it. code below: [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD …

Member Avatar for diafol
0
1K
Member Avatar for zacharysr

On my search page [URL="http://daparadise.com/search.php"]http://daparadise.com/search.php[/URL] i want to make the logo auto change when a certain day comes up. Say like christmas. our a birthday or something like that. So how would i make the logo change in php when these days come up?

Member Avatar for diafol
0
252
Member Avatar for CJMW

Wassup everyone :) I am an experienced php programmer, having used it for over 4 years. However despite this, I cant seem to think of any worthwhile projects to undertake. Im not looking for anything thats going to make money or become popular overnight, I just want to spend my …

Member Avatar for diafol
0
140
Member Avatar for simplypixie

I am using tinymce on a cms and I want to be able to have a dropdown menu of all pages on the site (stored in a db) to choose from when adding a link but all I am getting is an emtpy set of values. I am using the …

Member Avatar for simplypixie
0
900
Member Avatar for narasimha9

This is my display page <label for="City">City</label> <div id="city"> <select id="city" name="city" onChange="display(this.value)"> <option value="" selected="selected">-- Select city --</option> <?php include("getcitylist.php");?> </select> </div> this is my ajax page // JavaScript Document var XMLHttpRequestObject=false; function display(state_id) { if(window.XMLHttpRequest) { XMLHttpRequestObject=new XMLHttpRequest(); } else if(window.ActiveXObject) { XMLHttpRequestObject=new ActiveXObject("Microsoft.XMLHTTP"); } XMLHttpRequestObject.onreadystatechange=function() { if …

Member Avatar for diafol
0
245
Member Avatar for douglas.shrader.1

I can not get this web form to align left on a landing page That I am in the middle of creating ( its no where near complete but, IO cant get the webform in the corrct spot): http://dsninformation.com/nov11/moneygirl3.php Here is the code I am trying to left align. <td …

Member Avatar for douglas.shrader.1
0
211
Member Avatar for game4tress

I'm creating a chat system using Codeigniter and I need to update a textarea with a field in the database each second. For that I'm trying to use jquery for the timer but I don't know how I can update the textarea with data from the database, with a call …

Member Avatar for game4tress
0
2K
Member Avatar for davidjennings

Hi all, I am working on the following code. In the SQL query, I am currently calling all the data from the DB using * and all works fine. I would like to be selective and call the coloumns required i.e UserID, UserFullName, UserEmail, UserLastPassword, but when I do this …

Member Avatar for davidjennings
0
366
Member Avatar for silent lover

dear all, i want to parse this url: http://core3.oomph.co.id/api_omph_playground/index.php/nav/get_menu/1002/ to get all image, selectedImage, and url value. and my php syntax is: <?php $url1 = "http://core3.oomph.co.id/api_omph_playground/index.php/nav/get_menu/1002/"; $url = file_get_contents("$url1"); $arr = json_decode($url,true); foreach($arr['menu']['image'] as $item) { echo "image: ". $item[0] ."<br>"; echo "image_selected: ". $item[1] ."<br>"; echo "url: ". $item[2] …

Member Avatar for pzuurveen
0
270
Member Avatar for tqmd1

Dear Experts I have following codes <?php if(isset($_get['submit'])) { // Connection variables $host="localhost"; $username="root"; $password=""; $db_name="asia"; // Connect to database $con=mysqli_connect("$host", "$username", "$password"); // Connect result if(!$con){ die('Error Connecting to Database: ' . mysqli_error()); //die '<script type="text/javascript">alert("Error Connecting to Database"). mysqli_error($con);</script>'; } else { echo "<script type=\"text/javascript\">alert(\"Connected\")" . mysqli_error($con) . …

Member Avatar for Bachu
0
186
Member Avatar for patk570

Hi Guys, I would like to highlight the current day on this php script, can you help me figure out a simple way to do this? <?php $monthNames = Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"); if (!isset($_GET["m"])) $_GET["m"] = date("n"); if (!isset($_GET["y"])) $_GET["y"] = …

Member Avatar for diafol
0
374
Member Avatar for davy_yg

Hello, Rather then retyping the question, perhaps I can just place the link: http://ellislab.com/forums/viewthread/238828/ I already posted the question in CI forum, yet still does not find the answer yet. Perhaps if anyone can help me solve this problem would be great.

Member Avatar for davy_yg
0
320
Member Avatar for Jamblaster

I have been reading about exec() and passthru() and system() and different ways to use these, but so far not one of them is working. The Closest I have gotten is to get a request from CMD printed up on the page and so I researched how to pass a …

Member Avatar for Jamblaster
0
7K
Member Avatar for Dane2259

I'm just trying to echo a string to the browswer with the following code: <!DOCTYPE html> <html> <body> <h1>Hello World!</h1> <?php echo "My first PHP script!"; ?> </body> </html> but it doesn't show up in the browswer. The "Hello world!" header shows up but not the php statement. I know …

Member Avatar for broj1
0
332
Member Avatar for kelley82879
Member Avatar for diafol
0
220
Member Avatar for Manuz

[CODE] SELECT count(*) FROM information_schema.`COLUMNS` C WHERE table_name = 'your_table_name' AND TABLE_SCHEMA = "your_db_name" [/CODE] TABLE_SCHEMA is required only if table name exists in more than one db

Member Avatar for Terry_2
0
300
Member Avatar for joshl_1995

Hello Community, I was wondering if it is possible to use an ID ($_GET) after a file in the address bar so it would look like this http://example.com/file.php/ID_HERE Instead of http://example.com/file.php?id=ID_HERE I know there is a way of doing something like that but I'm only getting it to work on …

Member Avatar for joshl_1995
0
479
Member Avatar for branding4you

I have more than 40 or so fields on a php page, the fields dont conatain lots of data but they are allot for users to complete. Is there a way (I did this in VB.Net) to save once the user has edited a field or in VB case "Leave" …

Member Avatar for branding4you
0
266
Member Avatar for Владимир_1

Hello! I hve a question, how I can display last 3 years? i.e I would like to display them in the second format - 2013, 2012, 2011, All(...) P.S in All I want to display all other years... Here is code how I get year list now(it displays all years): …

Member Avatar for diafol
0
156
Member Avatar for jalpesh_007

Hello, I am working on a project in php.Now i want to send a mail to any e-mail id. How can i send it? Is there any mail API for PHP there or not? because right now i am running project on localhost(for testing).After completion of it i will upload …

Member Avatar for Jamblaster
0
324
Member Avatar for Boudreauxcs

Please help me. How start PHP. I have complete some HTML language and CSS.

Member Avatar for veedeoo
0
414
Member Avatar for davidjennings

Hi all I am trying to call a simple function and I keep getting an error "Parse error: syntax error, unexpected ';', expecting '{' in C:\wamp\www\david\remoteaccess\index.php on line 15" This relates to the call and I don't understand why it does not work. I am using WAMP if that makes …

Member Avatar for davidjennings
0
767
Member Avatar for tqmd1

Dear I have following codes <?php // Connection variables $host="localhost"; $username="root"; $password=""; $db_name="asia"; // Connect to database $con=mysqli_connect("$host", "$username", "$password"); // Connect result if(!$con){ die('Error Connecting to Database: ' . mysqli_error()); //die '<script type="text/javascript">alert("Error Connecting to Database"). mysqli_error($con);</script>'; } else { echo '<script type="text/javascript">alert("Connected"). mysqli_error($con);</script>'; } // Database Selection $sel …

Member Avatar for veedeoo
0
154
Member Avatar for arifkutty

<?php //connecting to the database and running query $dbc=mysqli_connect('localhost','root','','sam_telephone'); $get_list_sql="SELECT id, CONCAT_WS(',', l_name, f_name) AS display_name FROM master_name;"; $get_list_res= mysqli_query($dbc, $get_list_sql); ?> <!--Building of drop down menu start from here--> <form action="post.php" method="post"> <select name="sel_id"> <option value="">--Select One--</option> <!--Starting while loop for fetching the array--> <?php while($x=mysqli_fetch_array($get_list_res,MYSQLI_BOTH)){ ?> <option value="<?php …

Member Avatar for diafol
0
293
Member Avatar for tqmd1

Dear Sir, HTML file has following codes <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Connection Checking</title> </head> <body> <center> <h1>Connection Checker</h1> <fieldset style=width:300px;background-color:#E0FFFF> <legend sytle=font-size:12;>Click Connect</legend> <form name="form1" action="connect.php" method="post"> <table> <tr><td></td><td align="center"><input type="submit" name="button1" value="Connect"> </td></tr> </table> </form> </fieldset> </center> …

Member Avatar for Bachu
0
162
Member Avatar for davy_yg

Hello, I am trying make this contact form works. I wonder why <carticle2> & <carticle3> does not works. Right after I insert the php code: <?php require_once('recaptchalib.php'); .... ?> I wonder why? And how to make the code belows works? Please help. contactus.php <html> <head> <link href= "css/contact.css" rel="stylesheet" type="text/css" …

Member Avatar for davy_yg
0
409
Member Avatar for karen.frias0316

Hi! I have a Facebook app which uses PHP and JS SDK. JS for the like button and PHP for passing infromation. It's not displying well in different browsers. Say in safari it's displaying but not in Chrome and Firefox. I have cleared my cache and cookies but still getting …

Member Avatar for LastMitch
0
217
Member Avatar for cmsc

Hi! I was able to connect to another server using ftp_connect and was able to login too. But I tried to list the files in the directory but it is not working. No errors are appearing too. Any thoughts? Thanks! Here's my code: // set up basic connection $conn_id = …

Member Avatar for joshl_1995
0
701

The End.