39,320 Topics
| |
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 | |
hi i 've to store the images in folder and retrive them, so how can i ? can anyone help me ? | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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" … | |
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 … | |
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' … | |
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 … | |
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 … | |
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 … | |
> 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] … | |
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 … | |
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? | |
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 | |
<?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 … | |
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 … | |
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 :) | |
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**. … | |
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. | |
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 … | |
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 … | |
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! | |
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 … | |
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 … | |
**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 … | |
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 … |
The End.