39,323 Topics

Member Avatar for
Member Avatar for 9tontruck

Hi, I have inserted a facebook like button into my page. And I want to edit content that appears on the clicker's facebook wall. How can I modify it?

Member Avatar for codemonkey88
0
103
Member Avatar for michael123

What's the difference between "include", "include_once", "require", "require_once"? thanks.

Member Avatar for GuggiTanvi
-2
540
Member Avatar for gunnerone

Hi I have a login 'box' up in the top right hand corner of my web page. When someone logs in i want this to disappear and show a message and logout link. I have got this so far, but i cant seem to get it to work. Login form …

Member Avatar for mohamedasif18
0
206
Member Avatar for mrhankey

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 …

Member Avatar for cereal
0
183
Member Avatar for gunnerone

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']) && …

Member Avatar for gunnerone
0
326
Member Avatar for ebanbury

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 …

Member Avatar for niranga
0
245
Member Avatar for andarivaadu1

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 …

Member Avatar for Airshow
0
139
Member Avatar for QWaz

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 …

Member Avatar for rse
0
444
Member Avatar for daniahmed

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 …

Member Avatar for 140fulton
0
117
Member Avatar for gorleone

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

Member Avatar for Airshow
0
372
Member Avatar for raf.fredi

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]

Member Avatar for diafol
0
2K
Member Avatar for djeff

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

Member Avatar for diafol
0
45
Member Avatar for jonnyboy12

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 …

Member Avatar for diafol
0
212
Member Avatar for davedpss

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 …

Member Avatar for diafol
0
79
Member Avatar for gozlemci

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 …

Member Avatar for gozlemci
0
3K
Member Avatar for andarivaadu1

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 …

Member Avatar for diafol
0
173
Member Avatar for zainshah120

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 …

Member Avatar for Ezzaral
0
277
Member Avatar for zack654

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

0
58
Member Avatar for london-G

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

Member Avatar for london-G
0
996
Member Avatar for airmvp23

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 …

0
94
Member Avatar for thunder111

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

Member Avatar for Biiim
-1
249
Member Avatar for IanArcher

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 …

Member Avatar for IanArcher
0
130
Member Avatar for Buppy

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 …

Member Avatar for diafol
0
100
Member Avatar for shielaolid

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

Member Avatar for shielaolid
0
87
Member Avatar for fnyahoo

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 …

Member Avatar for pritaeas
0
142
Member Avatar for jacob21

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 …

Member Avatar for pzuurveen
0
116
Member Avatar for jacob21

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

Member Avatar for pzuurveen
0
101
Member Avatar for bbman

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 …

Member Avatar for cereal
0
91
Member Avatar for daniel36
Member Avatar for cereal
0
51
Member Avatar for daniahmed

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 …

Member Avatar for daniahmed
0
132

The End.