39,388 Topics

Member Avatar for
Member Avatar for DaveyMoyes

Hi Everyone. I have a htaccess file the re-writes my urls for a directory on a website I am helping to develop for a friend. the directory structure is mydomain.co.uk/dir1/dir2/shopping-cart/ The mod_rewrite rule rewrites the index.php file into pretty urls for example: shopping-cart/123/this-is-the-item-title The problem I am facing is when …

Member Avatar for gon1387
0
301
Member Avatar for kshahnazari

I want to get some datas from a php file that the data changes every 10 min . With what framework should I do it or is there any book that tells how to do this simpely ? please consider this That Im not familier with php and I want …

Member Avatar for pritaeas
0
75
Member Avatar for adishardis

Hi, I have two diagrams and one unordered list( http://hardis.synology.me/portalen/filter.png ) that rely on select statements and I'm wondering what the best way to filter those. (one filter for all of them!) $result = mysql_query("SELECT * FROM TABLE WHERE filterArray ORDER BY Datum_formatning ASC"); I have 5 fields that will …

Member Avatar for adishardis
0
314
Member Avatar for dangerousdayton

i am making simple experiment about html to pdf.i can populate all the textfields but not the check boxes,i used radio button in html so that only one can picked on the two.how can i possibly populate the checkboxes in pdf??please help! here is my code: [code] <html> <body> <head> …

Member Avatar for Kristof_1
0
3K
Member Avatar for dancks

My school has an apache/mysql server that we make and host websites from as projects. I am doing an ebay type site where people bid on a product until time runs out. Problem is I don't know how to trigger that the product should be delisted and the buyer and …

Member Avatar for smantscheff
0
220
Member Avatar for pgh

Hi All, I am new to this portal, hope some one will guide me with my issue, i wanted to send the data from FORM submit to update in database at the same time it shd go as email, Any help will be appritiate thanks Prashant

Member Avatar for saad2309
0
225
Member Avatar for eyeda

Hi Guys! I've a problem here with the $_SESSION coding. As u can see from the coding below, I've declared several session after a user is log in. I want to display the $_SESSION['SESS_ADMIN_LEVEL'] in adLandingpage.php but the code is not work. logincode.php $resultA = mysql_query("SELECT * FROM staff WHERE …

Member Avatar for eyeda
0
191
Member Avatar for kris.sirk.54

I have a MYSQL database that house user names and user numbers. the process is user goes to a url inputs all the information. Goes to the office they search for the user makes sure all the information is correct and assigns them a number inputs it into the the …

Member Avatar for kris.sirk.54
0
84
Member Avatar for aneeqtariq_143

I recently download CKEditor for my web application. I want to add copy data from word file and paste on ckeditor, when i am doing this i found that all styling is gone but i want to preserve styling as it is on orignal word file. So i did little …

Member Avatar for LastMitch
0
309
Member Avatar for Vijaysurya

hai everybody, i need recent-plan div tag display horizontally in cmyplan-show conatiner div inside. anybody plz help me. all the layout records display in one row. plz help me. <div id="myplans-create" > <div id="horiz_container_outer" > <div id="horiz_container_inner" > <div id="horiz_container"> <div id="myplans-show" style="position:absolute;height:100%;border: solid 1px #666666;width:100%;display:block;overflow-x: scroll; "> <div id="data"></div> …

Member Avatar for LastMitch
0
166
Member Avatar for LastMitch

Hi I still learning how Smarty templates works. I can't seem to make the image appear on the Smarty Template. I try to used this `{html_image}` it doesn't work. I used `<img>` instead. <img src="images/{$book->image[tbl]}" width="115"> These are my files. This is my **index.php** <?php require("libs/Smarty.class.php"); require_once("get_data.php"); require_once("books.php"); $book = …

Member Avatar for LastMitch
9
1K
Member Avatar for edyy

Hello I have two files index.php and search.php and I want to enter the string in index.php the search to be preocesed by search.php and the result to be shown in the same window index.php. index.php <?PHP require_once("includes/membersite_config.php"); if(!$fgmembersite->CheckLogin()) { $fgmembersite->RedirectToURL("login.php"); exit; } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 …

Member Avatar for GliderPilot
0
376
Member Avatar for westernbees

Hey guys, i am new to php ..I really needed your help with pagination in php .The issue is when i look at the out put, i dont see any thing.. just blank screen. Database and other details are correct. I rechecked it Here is my code : <?php $host="xxxxxx"; …

Member Avatar for diafol
0
245
Member Avatar for kishoresai438

Hi frnds, three months back i was integrated Tiny Mce editor to my website whick integrates Equation Editor Plugin. At that time everything was going good. From last couple of days all the existed equations are displaying as Text formate. Can any body solve this issue please.

Member Avatar for diafol
0
120
Member Avatar for amulet_john

Hello guys.. Do you have any idea how to make a Global Positioning System (GPS) using PHP & MySQL? I don't know where should I start. Do you think it's possible in PHP & MySQL? Please help. Thank's ! Regards, amulet_john

Member Avatar for veedeoo
0
286
Member Avatar for lilach.dror

here is the code of the php and the last sentence is the problem: <?php/** * The base configurations of the WordPress. * * This file has the following configurations: MySQL settings, Table Prefix, * Secret Keys, WordPress Language, and ABSPATH. You can find more information by * visiting {@link …

Member Avatar for diafol
0
2K
Member Avatar for chira9na9pal

# Hello i want to use url rewriting in my core php web page site.. can some me help me ?? # For Example :- My web page url link is www.demo.com/abc.php i wana to show that page in url like www.demo.com/abc can some one tell me how can me …

Member Avatar for diafol
0
159
Member Avatar for bradly.spicer

Hey all, Selecting a MYSQL Database is throwing Errors. It's all correct. However, My page seems to think otherwise.. <?php ################### Server Connection / CONST ###################### define('DB_NAME', 'xtrapsp_Rhino'); define('DB_USER', 'xtrapsp_rhino'); define('DB_PASSWORD', 'Password'); define('DB_HOST', 'localhost'); ################################################################## // Note that whatever is enclosed by $_POST[""] matches the form input elements // $Value_name …

Member Avatar for bradly.spicer
0
145
Member Avatar for qwertpink

Hi all, Im trying to add sizes to the cart. However, i cant pass size over. please help. $result = $db->query($sql); $output[] = '<ul>'; while ($row = $result->fetch()) { $output[] = '<br><font color="837F77"size="6">'.$row['name'].' </font><br></br> S$'.$row['price'].'<br></br>'; $output[] = '<select name="size"> <option disabled="disabled" selected value="NA" >Size</option>'; if ($row[small_qty]== 0){ $output[] = ' …

Member Avatar for qwertpink
0
376
Member Avatar for taryn.bleckley.3

Record is inserting but email is not going.. if($_POST['registersubmit']) { $to="'".$_POST['email']."'"; include('db.php'); $checkemail=mysql_num_rows(mysql_query("select * from authentications where email='".$_POST['email']."'")); if($checkemail) header("Location:".$_SERVER['PHP_SELF']."?msg=E-Mail Already Exists "); else { $query="insert into authentications (password, authcode, email, status, created_at) values ('".$_POST['password']."', '".md5($_POST['email'])."', '".$_POST['email']."', 0, '".date('Y-m-d h:i:s')."')"; if(mysql_query($query)) { $headers1 = 'MIME-Version: 1.0' . "\r\n"; $headers1 .= …

Member Avatar for taryn.bleckley.3
0
131
Member Avatar for bradly.spicer

Hello everyone, My friend has been helping and he's been great however it's come to a halt :P I'm working with MYSQL at the moment but am having a few issues with my code. Index.php: <html><link href="stylesheet.css" rel="stylesheet" type="text/css"> <head> </head> <body> <div id="header"><img src="http://www.rhinosecurityltd.co.uk/templates/rhuk_milkyway/images/mw_joomla_logo.png" alt="Rhino Security"> </DIV> <form name="Form" …

Member Avatar for bradly.spicer
0
173
Member Avatar for arcticM

I'm trying to upgrading php from 5.2 to 5.3 manualy. i downloaded the C9 x86 Thread Safe (2012-Nov-21 22:03:51) zip file, opened it into c:\php did what it said in this manual http://php.net/manual/en/install.windows.manual.php first off, I had no pear folder in the zip, and no pear-go.bat.. and second, once I …

Member Avatar for arcticM
0
168
Member Avatar for FakeTales

i have this xml file <CATALOG> <CD> <TITLE>Empire Burlesque</TITLE> <ARTIST>Bob Dylan</ARTIST> <COUNTRY>USA</COUNTRY> <COMPANY>Columbia</COMPANY> <PRICE>10.90</PRICE> <YEAR>1985</YEAR> </CD> </CATALOG> with my php code i am able to get the parent node <CATALOG> then all the other data such as <TITLE> etc etc , how would i go about getting the <CD> tag?? …

Member Avatar for FakeTales
0
224
Member Avatar for hwoarang69

i am not sure what i did but i messed up my page. take a look at page and you will see the problem. it puting php code in a echo"";. i cant seem to find where the problem. <!-- Connect --> <?php session_start(); //for errors include("../../INCLUDE/header.php"); ?> <!-- top …

Member Avatar for hwoarang69
0
188
Member Avatar for eoop.org

Hi, I want to develop a CMS that I can use when I make websites. Want to simultaneously post it online so that people can download it and develop plugins and themes for this. Would like to have it as user friendly as other CMS such as Wordpress, Joomla, Dupal …

Member Avatar for eoop.org
0
189
Member Avatar for DanErik

Hello! Im looking for a new source code editor. Have come to the point where I need something more powerful and professional. The big issue is this: We develop software in PHP. In our code we have language specific strings like: ------------------------------- echo "Enter your name:"; ------------------------------- We would like …

Member Avatar for diafol
0
225
Member Avatar for Clanstrom
Member Avatar for OsaMasw

Hi there fellow daniweb programmers I have problem in running function in javascript <script type="text/JavaScript"> function toggle() { var e = document.getElementById('target_<? echo $id; ?>'); e.style.display = 'none'; } </script> I have button that generated in php code so its repeating itself <li><a id="target_<? echo $id; ?>" href="like.php" onclick="toggle()"><img src …

Member Avatar for OsaMasw
0
3K
Member Avatar for Octet

I am trying to help prevent SQL injection using mysqli_real_escape_string, I have the following: <?php $Connect = mysqli_connect ('', '', '', ''); if (mysqli_connect_errno()) { die ("Couldn't Connect to the Database"); } $String = "Hello, my name is (*$<>)*$)!*)_£)(!*£$&"; echo $String."<br><br>"; $Escaped = mysqli_real_escape_string($Connect, $String); echo $Escaped; ?> The problem …

Member Avatar for GliderPilot
0
730
Member Avatar for Resentful

Hello, everyone. I've recently switched hosts and the same script I was running in the past is now causing the rest of my MySQL queries to be locked, and it seems the query never completes. The code is: <? $con = mysqli_connect('localhost','user','password', 'database'); $Q = "DELETE FROM `Table1` WHERE `Field1` …

Member Avatar for Larry_Singleton
0
148

The End.