39,323 Topics

Member Avatar for
Member Avatar for dancks

A lot of code here. Basically I'm making an auction type site. This segment of code is for a user to upload a product: I'm pretty sure there isn't anything wrong with addproduct.php but for completeness I feel like I should post it. addproduct.php: <?php require_once('checklogin.php'); require_once('validate.php'); if(!isset($_SESSION['user'])) { //die("redirect"); …

Member Avatar for diafol
0
261
Member Avatar for Venter

Good Morning. Actually i'm doing online quizz project. so when ever user login details are true he has to take a test. so that i displaying questions randomly from database. when i press F5/Ctrl+r/browser Refresh Button the questions are changing simultaneously. What i require is the questions could not while …

Member Avatar for diafol
-2
202
Member Avatar for morrisproject

I currently have a webpage (for example 'conveyor') with contains many buttons, when a button is clicked the user fills in the relevant fields on the page (page 2) and saves the record, which then turns the text on the button on 'conveyor' to red, to show the user a …

Member Avatar for diafol
0
109
Member Avatar for dalilice

So.. i want to make and online TV Show website using wordpress but can't fugure how to do it. The shows will be embeded from various websites (youtube, vimeo). 1. In general TV Shows have multiple seasons and i want the links to be like friends/season-1/episode-2 is there a plugin …

Member Avatar for blocblue
0
246
Member Avatar for starter

I need help with a dynamic drop down menu. I need when I select a make. the corresponding model load in the second drop down menu [code=php]<?php $conn=odbc_connect("cisproject","" ,"");// database connection $make = $_POST['manuf_name']; if ($make){ ///////////////////////////////////////////////// $query = sprintf("SELECT * FROM Models where manufacture_id='$make'"); $result = @mysql_query($query); $rowModel = …

Member Avatar for diafol
0
208
Member Avatar for Stefano Mtangoo

Hi All, I have made simple CMS with PHP/MYSQL. It make use of TinyMCE as Javascript editor. I can delete as well as add the contents. But How can I load the contents from database to TinyMCE for editing and saving? Here is my PHP code to add contents using …

Member Avatar for medzoner
0
4K
Member Avatar for cossay

I'm finding it difficult to configure public link in ajaxplorer. According to their documentation, this setting can done in server/conf/conf.php but the problem is there is no such file as server/conf/conf.php in the entire application folder. I currently using ajaxplorer 4.2.3.

Member Avatar for diafol
0
64
Member Avatar for magwebonline

I Used Several wordpress plugins to Get Five Recent Multiple Category Posts . But How can i manually do with a php code.

Member Avatar for blocblue
0
88
Member Avatar for kevinyu

How to make an iframe embedded video not skip streaming an audio even if a submit button has been pressed, is it possible to achieve it without using scripts??? Note: I am streaming a YouTube video(hidden)

Member Avatar for gon1387
0
120
Member Avatar for Venter

i'm doing online quizz project. so i'm fetching questioins & answers Randomly from database. when ever press referesh button/f5 the questions are changing. wat i require is when the session starts once.the questions could not be change even doing refresh.. thank u all. eagerly waiting for ur help

Member Avatar for gon1387
0
223
Member Avatar for daniel36

my controller code is- <?php class Site extends CI_Controller { function index() { echo "Under Construction."; } function signup() { $this->load->model('site_model'); $data['countries']=$this->site_model->get_countries(); $this->load->view('signup_view',$data); } function login() { echo "This is working."; } } ?> When i open signup page .the signup view repeats many time.

Member Avatar for gon1387
0
117
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
300
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
309
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
218
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
82
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
307
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
162
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
119
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
283
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

The End.