39,320 Topics

Member Avatar for
Member Avatar for sultankhan

i have the follwing table name email pass name1 email1 pass1 name2 eamil2 pass2 how can i cahnge name1 from my admin page please any one help me

Member Avatar for tscina
0
262
Member Avatar for ratanji

hi i 've to store the images in folder and retrive them, so how can i ? can anyone help me ?

Member Avatar for ratanji
0
106
Member Avatar for tenorjazz

Hi, I'm trying to make a template page for my web site. The main template will include a header section, a main body section and a footer section (not included in sample code). I want to make the header and footer sections separate html pages so I only need to …

Member Avatar for code739
0
217
Member Avatar for mpc123

Hi I am creating some files of which are taken from database fields, the problem is the field in the database has £ in which is great as it is needed when in the browser page. The problem I have is when making the file is that it creates the …

Member Avatar for mpc123
0
87
Member Avatar for TINO_

Hi! It's ma first time in this forum,i hope u wll wormly welcome me.I am an undergraduate student in Software Eng. at the University of Dodoma in Tanzania, i would like 2 know if I can develope a **computer alarm** with **PHP**, if not the other languages I h've gon …

Member Avatar for LastMitch
0
82
Member Avatar for eduard.ferrer.71

Hi, In the fg_membersite.php file I would like to get the ['id_user'] variable under the function SendUserWelcomeEmail, so the subscriber will receive the registration number (a kind of ticket)... Can someone help me on how to achieve this? I've been trying changes for months but I get nothing. Many thanks …

Member Avatar for eduard.ferrer.71
0
183
Member Avatar for Riu 2009

hello everyone..i just wanna ask how i can increment the score after each answer given by the user and at last displaying result after questions finish. i want to store the result in database here's my code which is working fine with checking questions and displaying result and then next …

Member Avatar for broj1
0
4K
Member Avatar for GlenRogers

Hi, I'm trying to make my gallery so that it shows a certain number of images then creates more pages. Can anyone help me out on this? This is my gallery file at the minute. gallery.php <!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"> <head> <link href="../css/thumbnailviewer.css" rel="stylesheet" …

Member Avatar for GlenRogers
0
167
Member Avatar for angelali2013

Ok, I am not a professional in PHP as I am more on front-end than back-end. I want to know some information of file upload in PHP. I did create a website as a project where users can upload images, with its security and validation. The images stored in a …

Member Avatar for angelali2013
0
539
Member Avatar for baig772

Its been alot of mess to make the pagination in wordpress :( I have the pagination, but it renders the same page template file is ?php get_header(); ?> <?php global $my_query; global $paged; $paged = get_query_var('paged') ? get_query_var('paged') : 1; $temp = $my_query; $my_query = null; $args = array( 'post_type' …

Member Avatar for baig772
0
215
Member Avatar for dodgers125

I've been at this for quite some time and just can't figure it out.I have a html table and have to find the total sum of the values in the $total/Sale Cost (last) row. Can anyone help me out or point me in the right direction. Code below: <?php print …

Member Avatar for adam.adamski.96155
1
231
Member Avatar for mhaselip

hi, im trying to write a mysql query to join tables. I basically i have the following tables: tblwinners = table that shows all the winners PK reward_id customer_id tbluser = table that holds all the user accounts PK customer_id tblcompleterewards = completed rewards PK reward_id tblrewards = holds a …

Member Avatar for mhaselip
0
224
Member Avatar for jamojo

Hello Everyone, I have a php class like this: class DatabaseObject { protected static $table_name; } Then, when I extended this class, I do this: class User extends DatabaseObject { protected static $table_name = "users"; } However, I am encountering errors "mysql_fetch_array(): supplied argument is not a valid MySQL" because …

Member Avatar for jamojo
0
192
Member Avatar for cussel

> hy guys,..how to make paging from array 3D? > first index[0] become first page next index[1]become second page and next index[2] become third page > example: Array ( [0] => Array page>>>1 ( [0] => Array ( [0] => aaa [1] => bbb ) [1] => Array ( [0] …

Member Avatar for Robert1995
0
172
Member Avatar for davy_yg

Hello, I am trying to install this free script: --------------- 3. Installation --------------- To install MyMail, follow these simple steps and you'll be creating lists in no time. 1. Unzip file contents to a folder 2. FTP into your server and upload MyMail 3. CHMOD config.php to 777 and the …

Member Avatar for pritaeas
0
301
Member Avatar for davy_yg

Hello, Cek this site: [website](http://www.kompas.com/) If you hover the mouse above each article title, there is an explanation tips appears. How to do so?

Member Avatar for pritaeas
0
37
Member Avatar for samiyahg

Hi, I need help in writing a regular expression accoding to the following criteria: preg_match (keywords tel/contact/phone/phne/telephone which can be found anywhere in the string) followed by 7 int(numbers). Thnx, Regards, Sami

Member Avatar for samiyahg
0
204
Member Avatar for shhh

<?php $con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("ms", $con); $time1 = $row['timein']; $time2 = $row['timeout']; $sql = mysql_query("SELECT employees.*, timetable.* FROM employees INNER JOIN timetable ON employees.id = timetable.id WHERE timetable.in_time BETWEEN employees.timein AND employees.timeout "); echo "<table width='734'> <tr> <th width='49' scope='col'>Employee …

Member Avatar for urtrivedi
0
119
Member Avatar for giturman810

Hello, I am having a bit of a problem with my code. I have to link a php form with a mysql database. I know it is relativley simple, but I have been looking at my code for hours, and I can't find what is wrong. I have a sample …

Member Avatar for LastMitch
0
233
Member Avatar for jackbauer24-2

If I choose to retrieve some MySQL data using PHP, how do I put it in a certain area of my page? For example, if there is a div with an id of "putTextHere", how to make PHP echo/put text in this div? And how to get a certain value …

Member Avatar for jackbauer24-2
0
258
Member Avatar for <M/>

Hi, I am trying to create an input that collects address inputs (home address) and I have no idea how to start nor how to create an input like that. I tried Google, got nothing from it. If anyone can help, that would be great :)

Member Avatar for <M/>
0
122
Member Avatar for missy_mi

hi, i have a problem to display my data. i have 4 table (**proposals,quotation, po,simulation**), in **proposal** there is **pro_id, pro_name,file_name and file**, in **quotation** there is **pro_id, quo_name, file_name and file**, in **po** there is **pro_id, po_name, file_name and file**, in **simulation** there is **pro_id, simul_name, file_name and file**. …

Member Avatar for LastMitch
0
212
Member Avatar for sultankhan

hiii! Can any one help me to add super user to my login script that can veiw and edit all user, and evry user can veiw his/her profile like facebook. hope you people will help me.

Member Avatar for diafol
0
151
Member Avatar for Riu 2009

hi everyone i have made 3 stylesheets for different looks for my website i want to load/ change the stylesheet if the user selects the dropdown option and cliks update button heres my code for drop down <label>Select Theme:</label> <select name="theme" value="<?php echo $theme; ?>"> <option value="Default">Default</option> <option value="Dark">Dark</option> <option …

Member Avatar for diafol
0
249
Member Avatar for asrsmunna

Hi Admin..!! i want source code in php+ajax for a form, in such a way that, suppose i have a form in php, with 10 different fields, when the user fills that form, the fields next to gender should automaically change, like the remaining fields must be different for Male …

Member Avatar for EvolutionFallen
0
225
Member Avatar for Viped

Hi, How I should crypt messages when sending on my own site them from user to another? I don't want them to be plain text in a database or be readable easyly via stealing datastream over wifi. Thanks!

Member Avatar for LastMitch
0
185
Member Avatar for shahai.ali

hi to all m lil bit confuse as m beginner to the xml+xpath. so m sorry if i m unable to ask any kind of wrong question. now the question is m trying to accessing the name of the of the attribute of xml file using xpath and tyring to …

Member Avatar for shahai.ali
0
162
Member Avatar for Rizi004

Hi I am inserting in database but there is error in query. i have array in which form data is stored and function recieve the array but data is not inserting in array. bellow is the code. $insArr=array(); $insArr['first_name']=addslashes($_REQUEST['first_name']); $insArr['last_name']=addslashes($_REQUEST['last_name']); $insArr['email']=addslashes($_REQUEST['emailid']); etc there is 46 fields in table //now the …

Member Avatar for adam.adamski.96155
0
134
Member Avatar for Synestic

**Hi Daniweb!** I have a question regarding my e-commerce website. On my product overview, I have this code: <?php $replace_what = array('/',' ', ' - ', ' ', ', ', ','); $replace_with = array('-',' ', '-', '-', ',', '-'); //Start of (1) $mysqli = new mysqli(***); if (mysqli_connect_errno()) { printf("Connect …

Member Avatar for blocblue
0
213
Member Avatar for Riu 2009

hi everyone, i just want to ask is there any mistake in my code..because whenever i comment the email check it wroks fine but with email check it always gives error that this email already exists.. i am actually checking if the email im going to add is present already …

Member Avatar for Riu 2009
0
125

The End.