39,320 Topics
| |
hi, i was wondering if any you guys knew of a simple way to sync from an access database offline to a mysql online database? currently my system is running on php/mysql. there is another company who have a system that uses an access database behind it. i can access … | |
Hi I am trying to populate a text area based on a value submitted through a drop down box. Below is the code i have written to populate that text area. But i cannot seem to get it to work. All it shows is blank. [CODE] <?php if (!empty($_SESSION['LoggedIn']) && … | |
Hi I have a function which either updates or inserts a record into the database table, depending on what the user selects. However I need to manually refresh the page after the action has been done, as the status is not updating on the page. How can I force a … | |
Hi everyone, If there are multiple hyperlinks in a webpage, How do I recognize them using java script. Also How do I store the content of the hyperlink in a variable , so that the data stored in the variable will be used the query a database and populate results … | |
Hi, I am pretty new to php. I am trying to get a result from a database display as a link with php tags in it. however I am getting this error: Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' on line 53 I don't know what it's … | |
Hi, Guys If anyone have any examples of sub forms with Ajax PHP pls send me or come online to help me in am new in php. I want something like following: In my php file two forms are submitting data to DB. First is customer info info and then … | |
Have a interesting problem. I make a little ajax mechanism to get info from php file and add a function for delete the data. phpfile.php: [CODE] <?php if(isset($_POST['bu'])){ $data = 'text<a onclick="something();" href="#">alert</a>'; echo $data; } ?> [/CODE] js file: [CODE] function getdatafromfile(){ var bu = 'bu'; $.ajax({ type: 'POST', … | |
How to submit content of textarea when clicked on Share Div? [CODE] <div class="status"> <textarea class="input" name="status" id="content" > So whats on your mind? </textarea> </div> <div class="button_outside" id="share"> <div class="button_inside">Share</div> </div> [/CODE] | |
I'm hoping this is possible. I have a textarea defined as follows. Works fine. But I now want to assign a value to the name. Please tell me I can and how. Thanks ! print '<textarea rows="1" cols="20" name="newcmt'.$cmtid.'"></textarea>'; | |
Hello. I am new to php but not to c++; I'm trying to use a submit button to run some html divs and some gui. here is an example of this , very basic. [CODE] $hourglass1 = strip_tags($_POST['hourglass1']); if($hourglass1){ echo" MY DIV CONTAINERS"; } [/CODE] The problem is when i … | |
I am trying to clean up some text that has some white space that I can't seem to get rid of. I have tried replacing \s, \t,\n, \r, \r\n etc. and that strips out most of the new lines but not all. When I look at in a text editor … | |
Hi There; I have a MS-SQL 2005 in my computer. There is a [I]person [/I] table, and this person table have three columns; [I]name[/I], [I]surname [/I]and [I]address[/I].They are nvarchar(50). I hold the data of my company on it. User can make some queries over it via HTML. PHP code does … | |
Hi everyone, I have a web application developed using php. I want to add a new feature in it. When the user searches for some book details, all the book details are displayed. Now when the user clicks on a book name in the search results, He will be redirected … | |
here is a website that i had created in wordpress.now I want to make changes to the site but want to make changes offline,(at my local computer).So that the visitors can enjoy my existing site.I tried the following [CODE]Downloaded the website through filezilla. Made backup of data in .sql file … | |
I'm coding some themes for wordpress at the moment, and I have problem finding HTML and CSS themes that are ready for implementation. I don't want to spend time making HTML and CSS so I'm looking for ready themes for coding into wordpress. I found many free web site templates, … | |
Hi guys. I am now creating my sign up page and I would like to check if both name and email entered in page are already in the database. So far I have [CODE]if(mysql_query("SELECT members FROM name WHERE $_POST['name'] = '$name' and email WHERE $_POST['email'] = '$email'" ))){ echo "Sorry! … | |
I've been round and round with this subject, but here goes again. Basically I need to Click a Form Button and submit that click into an iframe located on a separate page. The history behind this is that I am using Joomla for my main platform, but needed a more … | |
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\AppServ\www\Ayyam v3\gate.php on line 16 Warning: Cannot modify header information - headers already sent by (output started at C:\AppServ\www\Ayyam v3\gate.php:16) in C:\AppServ\www\Ayyam v3\gate.php on line 36 am new with php please help me <?php session_start(); require_once('Connections/connector.php'); $uid= $_POST['uid']; … | |
I am trying to write to this file here [url]http://corporate.thechamberteam.com/livesearch/questions.htm[/url] I when i add it keeps going of the the html tags and the text ends up under </html> and also to to make the question bold just like on that page, and the answer Bold as in the same … | |
Hi, I have a page that loads for some time and it would be nice to show some progress. I want it to show messages like "loading..." and "x amount of something loaded so far" during the process, however, it only appears in the end. I have disabled the output … | |
[CODE]<?php $posapp=$_POST['txtapplied']; $fname=$_POST['txtfname']; $mname=$_POST['txtmname']; $lname=$_POST['txtlname']; $month=$_POST['txtmonth']; $day=$_POST['txtday']; $year=$_POST['txtyear']; $age=$_POST['txtage']; $eadd=$_POST['txtemail']; $homenumber=$_POST['txthnum']; $cpnumber=$_POST['txtcpnumber']; $address=$_POST['txtaddress']; $religion=$_POST['txtreligion']; $birthplace=$_POST['txtbplace']; $height=$_POST['txtheight']; $weight=$_POST['txtweight']; $civilstatus=$_POST['txtcstatus']; $college=$_POST['txtcollege']; $course=$_POST['txtcourse']; $year=$_POST['txtyeargrad']; $db=mysql_connect('localhost','root','') or die ('Cannot connect to MYSQL!'); @mysql_select_db('dbriomra') or die('Cannot connect to database'); $query=mysql_query("Insert into onlineapplication values ('posapp', 'fname', 'mname', 'lname', 'month', 'day', 'year', 'age', 'eadd', 'homenumber', 'cpnumber', 'address', … | |
ok here is my problem, I am kind of new to Php but have done programming before. I am recently learning php so am not sure what php can or cant do. What i am trying to do here is i have a multiple submit buttons which i input some … | |
Hi, I am new to php/ajax.What i am trying: I have one drop down list,one test box & a button more.if i click more button same drop down & textbox & more button should open $ further goes on.. I need suggestion ?? what should i use??I have to insert … | |
<td><input name="power" type="checkbox" disabled="disabled" <?php if($row['power_backup']=='on') echo "checked"; ?> /></td> <td>Power Backup</td> <td style="width:25px;"><input name="purifier" disabled="disabled" type="checkbox" <?php if($row['water_purifier']=='on') echo "checked"; ?> /></td> I have some checkboxes ,what i am trying to do if a checkbox is checked(its value is on) it should bold. need suggestions. | |
Hi, I want to display my database, however I cannot used the conventional method (like this [url]http://www.siteground.com/tutorials/php-mysql/display_table_data.htm[/url] )as the structure is unkown. The user of the system can create and delete columns. Does anyone know how I would be able to display the columns with the stored data? If this … | |
Can any body tell how can we pass values from controllers or Models to views in codeigniter? | |
Parse error: parse error in C:\wamp\www\dani\add_invoice_Item.php on line 75 [CODE]<?php $q=$_GET["q"]; $con = mysql_connect('localhost', 'root', ''); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("dani", $con); $sql="SELECT * FROM invoice_item_details WHERE itemId = '".$q."'"; $result = mysql_query($sql); echo "<table border='1'> <tr> <th>ItemCode</th> <th>GoodsDescription</th> <th>UnitPrice</th> <th>Quantity</th> <th>TotalPrice</th> </tr>"; while($row … | |
Hi there, I need to create a website for a client using a CMS. This client is a manufacturer and wanting to have a website that is pretty much similar to an ecommerce website except they won't be selling anything. It will have categories and list all the products. It … | |
Hey guys, I've got a theoretical question. I've tried to work out how some of the code would work in my head, and I always stump myself. Maybe it's my lack of knowledge - who knows! I am trying to create an online forum inside of my application. Yes, I … | |
hi everyone, I am trying to make 5 pages.. 1 is an html page and the last 3 are php pages.. the html page is called data_uploader.htm and contains: upload image upload html AD submit go to sender When you up click submit loads the files and then it returns … |
The End.