39,388 Topics

Member Avatar for
Member Avatar for Sanjay_6

Rightnow i am facing a problem of print Long Text. In my database i have data in long text format and that field has around 2000 line of text so how can i print that. I am giving here full code of my file please go through it and try …

Member Avatar for broj1
0
1K
Member Avatar for devianleong

Hi,Currently I'm using this tutorial : [Click Here](http://docs.cksource.com/CKFinder_2.x/SelectFunction) but the output is /home/xxx.com/public_html/images/image/1234.jpg How can I change the path to /images/image/1234.jpg ? Please help me ><

Member Avatar for devianleong
0
182
Member Avatar for son jo

attach is my code for search.php but i have error on line 9, can someone pleasee help me to fix it ? Thnk you XAMPP said Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\series\insert\Search.php on line 9 line 9 code: while($row = mysql_fetch_array($results)){ below is my …

Member Avatar for pritaeas
0
328
Member Avatar for Silfro

Hello I got one problem. I have a site where people can add movies. Its possible to add up to 10 different hosts. Every host can have up to 2 parts. html <TABLE> <TR><TD width=120>Hoster*:</TD> <TD> <SELECT class="interfaceforms" name="addmovie[][hoster]"><OPTION value="">Please select</OPTION> <?PHP foreach($hoster_list AS $aKey => $aValue) { echo'<option value="'.$aKey.'">'.$aValue.'</option>'; …

Member Avatar for Silfro
0
212
Member Avatar for erkanay

<!DOCTYPE HTML> <html> <head> </head> <body> <form action="2.php" method="post"> <table width="400" border="0"> <tr> <td>Ders sayisi :</td> <td><input type="text" name="sayi" /></td> </tr> <tr> <td><input type="submit" name="gonder" value="Gonder" /></td> </tr> </table> </form> <?php if(isset($_POST['gonder'])) { for($i=1;$i<=$_POST['sayi'];$i++) { echo "$i.ders"." "."<input type='text' **name='e$i'** />"." - "." <select name='dersler'><option **value='a1'**>A1</option> <option **value='a2'**>A2</option><option **value='b1'**>B1</option> <option …

Member Avatar for diafol
0
286
Member Avatar for irfan hassan

Is there any free joomla framework which we can use professionally, and can change it's copyrignts.And what free joomla framework would be the best to use.

Member Avatar for irfan hassan
0
223
Member Avatar for davy_yg

Hello I wonder how to create a new screen like in: [Salesforce](http://www.salesforce.com/)](null) Cek the contact us button: If you click it a big form screen appears. How to create such a thing ? Also, if you ever fill in a form, they know your name etc., do they save visitors …

Member Avatar for Olagsfark
0
104
Member Avatar for Olagsfark

I have an online forun i just finished building. Now i need to build a script that moderates my forum witout me there.

Member Avatar for Olagsfark
0
269
Member Avatar for mpc123

Hi Im haveing a problem with ucwords and FINDINSET in a query I have tried all sortsof ways but just get errors I currently have and get FUNCTION ucwords does not exist. Can anybody help please $query = "SELECT * FROM TABLE1, TABLE2 WHERE FIND_IN_SET(ucwords(TABLE1.field), TABLE2.field)";

Member Avatar for mpc123
0
222
Member Avatar for jcyarra

$cartOutput = ""; $cartTotal = ""; $ctr= 0; $collector = array(); $product_id_array = ''; if (!isset($_SESSION["cart_array"]) || count($_SESSION["cart_array"]) < 1) { $cartOutput = "<h2 align='center'>Your shopping cart is empty</h2>"; } else { $i = 0; foreach ($_SESSION["cart_array"] as $each_item) { $item_id = $each_item['item_id']; $sql = mysql_query("SELECT * FROM products WHERE …

Member Avatar for diafol
0
1K
Member Avatar for son jo

my insert php cannot save data to phpmyadmin when it enter the details. localhost:locahost , username:root password: databasename:b_database tablename:my_library tablecolumn:2 contains : isbn(primary key) and title. index.php <html> <head> <meta name="description" content="Php Code for View, Search, Edit and Delete Record" /> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Search Library Record</title> </head> …

Member Avatar for veedeoo
0
245
Member Avatar for venkatesh_1

hi i am new to wordpress. so i am getting lot of problems I am trying to display posts of specific category using the following code <?php $cat=$_GET["cat"]; $args=array('category'=>$cat); $posts_array = get_posts( $args ); foreach($posts_array as $posting) { echo $posting; } ?> But i am getting errors instead. Please anyone …

Member Avatar for veedeoo
0
233
Member Avatar for kiLLer.zoh_1

<?php include 'inc/db.php'; function dateDiff($start, $end) { $start_ts = strtotime($start); $end_ts = strtotime($end); $diff = $end_ts - $start_ts; return floor($diff / 86400); } $q ="SELECT * FROM date"; $p=mysql_query($q); while ($res=mysql_fetch_array($p)) { $start =$res['sdate']; } $qc ="SELECT * FROM accounts"; $pc=mysql_query($qc); while ($r=mysql_fetch_array($pc)) { $elecend=$r['elec_contract_edate']; $gasend=$r['gas_contract_edate']; $elecshow =dateDiff( $start,$elecend ); …

Member Avatar for diafol
0
199
Member Avatar for kanoy83

hi guys, am trying to make a simple PHP form submission and insert some data to MySQL, my tables are: category: -id -category_name table1: -category_id(FK) -title -description table2: -table1_id(FK) -filetype -filesize -filedate -filename Form: -Date -Title -description -category(drop down) -upload file (get the file info like type,ext,size,filename) Or is there …

Member Avatar for kanoy83
0
3K
Member Avatar for engmizan

I am getting this problem when i submit an online inquiry form. How i fix it. My code is(mail.php) : <?php require_once 'admin/common/config.php'; // Read POST request params into global vars $to = "engmizan@gmail.com"; $from = $_POST['email']; $subject = "Online Enquiry / Order Form"; // registration information $name= $_POST['name']; $desig= …

Member Avatar for almostbob
0
356
Member Avatar for OldDeveloper01

I get this message quite often and it has popped up again here, any ideas as to why? Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\.... on line 76 line 76 is this line in bold. [CODE] $productlist = ""; $sql = mysql_query("SELECT * FROM products …

Member Avatar for nandkishor.sharma.372_1
0
861
Member Avatar for yavindu

<?php $system_date = Date(m/d/Y); <input type = "Date" value = <? echo $system_date; ?> ?> I want to set system date to above date box.But this will not work.If I change type to text then it will work as I want.What is the problem here.How can I set system date …

Member Avatar for cmps
0
299
Member Avatar for GlenRogers

I have a page to add products. On this page is a 'categorey' dropdown and a 'subcategory' dropdown. The subcategory dropdown should fill with the options based on the category dropdown selection. The code I have so far does not fill the subcat dropdown, can anyone see a problem? code …

Member Avatar for Banderson
0
4K
Member Avatar for akshit

hey guys... i know this is a very common problem and has been posted earlier also... but nobody seems to have figured out a solution... i am making a program using PHP/MySQL. I need to update 3 columns in a table. when i use a single UPDATE-SET command(using commas/AND etc …

Member Avatar for TomH.PG
0
8K
Member Avatar for son jo

How to do the code for design and develop an PHP/MySQL application involves insert, view, search, delete, update/modify a record from a database

Member Avatar for broj1
0
432
Member Avatar for BadManSam

NB: I'm a beginner at php programming. Hi, I've been trying to add an 'Online' or 'Offline' plugin to my login system. To display the username you use thr following: $session->username In the database, I have a table for active users. When a user logs in, he is added to …

Member Avatar for BadManSam
-1
795
Member Avatar for davy_yg

Hello, I am trying to create a website with spacechatting. Is there any way to build a website with spacechatting besides yahoo messanger. Is there a free one? If there is no free software, how much approximately? A free software/script is prefered.

Member Avatar for cmps
0
289
Member Avatar for MrXortex

Hello. I have a little complex code for a navigation menu. I want to add a dropdown to a <li> tag but it doesn't work. Heres the code <div id="topbar" class="fadeInOnLoad"> <div class="inner-topbar"> <ul> <?php if(currentPageName() == 'index.php'){ echo '<li class="">Home</li>'; }else { echo '<li><a href="index.php">Home</a></li>'; } if(currentPageName() == '../about.php'){ …

Member Avatar for Zagga
0
345
Member Avatar for spluskhan

Gyz i have some serious prob my code. if you find any error plz correct me . My code for Pay Fees (Update) <div id="wb_Form1" style="position:absolute;width:365px;height:270px;"> <form name="update" method="post" action="./Update_Fess.php" id="Form1"> <div id="wb_Text7" style="position:absolute;left:10px;top:15px;width:104px;height:16px;z-index:1;text-align:left;"> <span style="color:#000000;font-family:Arial;font-size:13px;">ISPID#:</span></div> <input type="text" id="Editbox1" style="position:absolute;left:124px;top:15px;width:198px;height:23px;line-height:23px;z-index:2;" name="ISPID" value=""> <div id="wb_Text9" style="position:absolute;left:10px;top:45px;width:104px;height:16px;z-index:3;text-align:left;"> <span style="color:#000000;font-family:Arial;font-size:13px;">August 2013:</span></div> <input type="text" …

Member Avatar for diafol
0
374
Member Avatar for son jo

Design PHP/MySQL application that involves insert, view, search, delete, update/modify a record from a database. "The application is mylibrary and we have to insert, view, search, delete, update/modify the isbn(length:13) and title of the book (length:128)" Can someone show me the code ? I already done mine but I want …

Member Avatar for Ancient Dragon
0
179
Member Avatar for PriteshP23

I am trying to read XML file and store in sql table. I got two errors. PHP Warning: XMLReader::open(): Unable to open source data Warning: XMLReader::read(): Load Data before trying to read // In addition, Please let me know the filename in below cases. case 1: Code: Select all $reader->open($topdir."/nap/".$code->no()."_city.xml"); …

0
127
Member Avatar for Szabi Zsoldos

Hi guys, I've created a simple plugin for Wordpress that interacts with an API in the backend. The problem is that everything is inserted twice in the database, and I cannot figure out why. The form is submiting only once, not twice. What could it be ? Redirects from my …

Member Avatar for Szabi Zsoldos
0
853
Member Avatar for vision2030

<!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"> <!-- DW6 --> <head> <!-- Copyright 2005 Macromedia, Inc. All rights reserved. --> <link rel="shortcut icon" href="/favicon.ico" > <title>LADOKE AKINTOLA UNIVERSITY OF TECHNOLOGY|INFORMATION TECHNOLOGY AND COMMUNICATION(LICT) - Registration</title> <meta name="Author" content="Address for the School of Nursing Ogbomoso Oyo State" /> …

Member Avatar for Szabi Zsoldos
0
248
Member Avatar for Manchala

Hi Guys i am developing a system in php using codeigniter framework, in this i retrived result from database it stored in an variable and its var_dump result is like var_dump($cat_data) object(stdClass)#21 (4) { ["id"]=> string(1) "1" ["name"]=> string(8) "Computer" ["image"]=> string(1) "0" ["p_cat"]=> string(1) "0" } when i try …

Member Avatar for Szabi Zsoldos
0
249
Member Avatar for ehpratah

Good Day Everone Just wanna ask for a suggestion if it is possible to Save data in DB and at the same time Print the form when the submit button is clicked? and if possible how can i obtain it? Here's what ive tried form.php <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML …

Member Avatar for happygeek
0
4K

The End.