39,402 Topics
![]() | |
can anyone see where i am not reciving the results I am looking for ? please, [CODE] ?><META name=GENERATOR content="MSHTML 8.00.7600.16722"><?session_start();if(!session_is_registered(myusername)){header("location:main_login.php"); } ?> <P> <? echo "PLAYER:" .'($myusername)';?>[/CODE] this code is spose to echo out the players login name from the check_login.php page from before. thanks. | |
hi all,, in my project, i have to use matching between two ranked lists, one for student, he choose 6 wanted project (by rank), that he want to assign, and the other list is for the project, where the supervisor can choose 6 student (by rank).. then after all choices … | |
hi, is there anyone here know how to create a chat bot with video? thank you ![]() | |
hi I had question:sometime when I post values from one page to another and using it in some php code it don't work but other time the same page with the same code work just fine WHY?????:@ is the problem in the browser ? how to fix that | |
I have a question regarding Google Maps integration I am planning for my site. Right now I have a list of approximately 5,000 addresses (Street Address, City, and Zip Code). I would like to add two columns to the table these address are stored in for Longitude & Latitude so … | |
I am working on a search script in which i have to search from the my sql database when a user enter some keyword I am using this code for searching.pagination is not working fine. Could you please tell me another good script for searching in my sql. Thanks [CODE] … | |
Hi, I have two forms: one which displays the list of projects in a dropdown box from mysql db second one is a date picker form. after this i have a submit button. Now, when i click the submit button I want to get the details of the Users corresponding … | |
index.php file <script type="text/javascript" src="../lib/jquery-1.4.2.min.js"></script> <script type="text/javascript" src="../lib/jquery.jcarousel.min.js"></script> <script type="text/javascript"> jQuery(document).ready(function() { jQuery('#mycarousel').jcarousel({ vertical: true, scroll: 3, visible: 12 }); }); </script> <ul id="mycarousel" class="jcarousel jcarousel-skin-tango"> <li>I love you haha.</li> <li>I love you haha.</li> <li>I love you haha.</li> </ul> --------------------------------------------------------------------------- From the above code, I use firebug to inspect the … | |
Hi guys! Can anybody tell me - how it's possible to see and change php-code of blocks in drupal? Big thanks in advance) | |
I have used the delete query $sql="DELETE FROM table_name WHERE id='$ids'"; but the problem isthat it deletes the record but the record does not disappears from the page. It dissappears after refreshing the code. I have used the meta tag for page refresh but itis not working. Can any one … | |
Good day! I just want to ask on how to setup a site so that when i search the site or business name on any search engine, it will be listed in the search result. Just like in Google. Thank you & God bless! | |
Hi all, I'm really struggling with this and so far haven't been able to find a solution on the Internet. I have a MySQL table called Journey which has a Date field. The dates are stored in the format YYYY-MM-DD. I'm trying to construct a query where I can get … | |
Hello I find a tutorial on [url]www.phpeasystep.com[/url] about updating multiple records can anyone tell me how to make it work for php 5. When I click on update it shows the same page ...Please any help would be appreciated | |
Dear All, I would like to add a new row tex boxed into my form just like when we add column for a new table under phpmyadmin where the option of Add number of column and then press the button go when we try to structure a new table. How … ![]() | |
Hello everyone, I am looking to exclude some specific content from a cache system based on APC. This content is a complete directory. So if you have any idea, please let me know. | |
i want a script to upload image and display image in the same page....plus i want another thing that i have many fields in that page...so i want to only refresh image part after uploading to show image.... although i have tried to do so...but i can't do it without … | |
plz help me in creating a linked drop down button for date,month and year. means on clicking month like feb it will show date upto 29 and on clicking jan it will show 31. also i need it so that i can made a similar type of linked button for … | |
Hi, I am using cURL to grab the contents of a webpage which contains a table. I am trying to make an array out of the table contents, with the column headings as the array keys. Unfortunately the first row of the table, before the headers, has pagination which is … | |
I need to be able to display a screenshot grab of specific websites in thumbnail size. Instead of going to the site and screenshotting it, I would like PHP to do the job for me. Is this possible? | |
please let someone just give a detail of significant difference between Ajax and PHP. WHICH I CAN ENJOY PROGRAMMING | |
Dear All, If anybody can help a poor simpleton newbie I would really appreciate it. It maybe the monday syndrome but nothing i do works! I have a multi dimensional array made in the following manner. $datasq["$part_no"]["item_ver"]="$item_ver"; $datasq["$part_no"]["po_id"]="$po_id"; $datasq["$part_no"]["weeky"]="$weeky"; $datasq["$part_no"]["qnty"]="$qnty"; part_no = varchar part number po_id = varchar order number … | |
:-/ my html form consists of drop down for selecting city and state. radio buttons for selecting gender. and a few check boxes. the form is filled and the values are stored in a database table. I am working on a php script, which retrieves values from database into an … | |
I want to develop application using PHP. One module in this application displays attendance of students under particular teacher, between given two dates. The structure of tables in database - 1. student_info(Roll_No, Teacher_Id, First_Name, Last_Name) 2. attendance_info(Teacher_Id,Roll_No,Date,Present) Present stores '1' if student is present on that date and '0' if … ![]() | |
I have create a table as "user" with colm user pass redirect and add the three user as: user : Pass : Redirect a123 123 google.com b123 123 hotmail.com c123 123 facebook.com i have also create a php page with login session but i want that when i entered the … | |
When uploading images using plugins on wordpress I get an HTTP error. The plugins that give me the error are: nexGEN gallery and shopplugin. I have posted multiple threads on the WP support forums and I dont even get replies. The only information I can give is I get an … | |
hi friends, In my project, want to display data from Mysql between two date. Date was given by user only, according to that it take info from database, And important things is display the retrieve information through table, My Html coding : [CODE] <body> <form method="post" action="reportviewinfo.php"> <label>From Time : … ![]() | |
Hi guys i have problem regarding to display specific row record on the page. I have one mysql table named as candidates. Its have 25 rows. I have a php page and i want to display the 20 no row on the page. What action to be done there. Plz … | |
Hi all... I need your help, there must be something I am not seeing here when trying to update a table of information in a database. Here is the code I am currently using. In my program I have this call... [CODE] if (($_POST['changeAddress'] != "") || ($_POST['changeAddress'] != null)) … | |
function redirectToHTTPS() { if($_SERVER['HTTPS']!="on") { $redirect= "https://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']; header("Location:$redirect"); } } ![]() | |
hi. am new to php. got a problem with inserting data into another table in mysql database afta. Here is the code <td><form action="ProCollegePrograms.php" method="post"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td><span class="textblack">College Code</span><span class="required"><font color="#CC0000">*</font></span><br></td> <td><input name="CollegeCode" type="text" class="required username" id="CollegeCode" size="40" minlength="2" ></td> <tr> </ </tr> <tr> <th … ![]() | |
Hi there, I have a system where a user can upload an image, once an image has been uploaded php crops the image and then resizes to to a thumbnail. This works perfectly well with JPEGs, but does not work with PNGs and GIFs. I have used code to make … | |
Hello can anybody help me with constructing a PHP ODBC code for retrieving records in a database? here's my code: [CODE] <html> <head> <title>HCPSMSHS: Grade Viewing System</title> <link rel="stylesheet" href="css.css" type="text/css" charset="UTF-8" media="all"> </head> <BODY> <?php $conn=odbc_connect('DB2','','') or die("connect error: ".odbc_error()); $username=trim(stripslashes($_POST['username'])); $password=trim(stripslashes($_POST['password'])); $sql="SELECT * FROM tblstudents WHERE S_ID='$username' AND … | |
Hi, I've created a script to understand the logic of caching. Do you think my example below makes sense? I am asking because I've never used caching before. 1. Check if HTML version of current testfile.php exist in cache folder as testfile.html a. If YES then compare content of testpage.php … | |
![]() | I have recieved this, Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in C:\...register.php on line 16 I dont understand to be honest what this mean as i am new to php and mysql. What do i need to do to fix this problem? Below is my php. … |
i'm realy confused on how to do this.. deperately need help. i have two tables as below: table1- qid(primarykey), qtitle table2- aid(primarykey), atitle, qid example, table1- (qid=1; qtitle=fruits), (qid=2; qtitle=vehicle) table2- (aid=1; atitle=apple; qid=1), (aid=2; atitle=banana; qid=1), (aid=3; atitle=car; qid=2), (aid=4; atitle=bike; qid=2), (aid=5; atitle=bus; qid=2); when i retrieve the … | |
Hi. I would like to know if it would be possible, using PHP to ping a port of a switch, knowing the ip address of that switch. How can this be achieved? Thank you. | |
Hi again!! This is my code to add and delete dynamic rows and auto calculate the amount field by multiplying qty and rate. [CODE]<form name="staff_reg" action="<?php echo $_SERVER['PHP_SELF']."?".$_SERVER['QUERY_STRING']; ?>" method="post" enctype="multipart/form-data"> <table width="100%" border="0" cellspacing="0" cellpadding="2"> <table border="0" cellpadding="1" cellspacing="0" class="normal-text" align="left"> <tr align="center"> <td width="10" class="forhead" style="white-space:nowrap;"> </td> <td width="92" … | |
Hi!! I am trying to find out solution for this since long. I tried js but as I am not good with it, I just want to do this through PHP. I am adding dynamic rows when user clicks the Add Row button.I want to show the calculated amount like: … | |
Hi all! I have a form as below: [CODE]<script type="text/javascript"> function addRow(tableID) { var table = document.getElementById(tableID); var rowCount = table.rows.length; if(rowCount<3) { var row = table.insertRow(rowCount); var colCount = table.rows[0].cells.length; for(var i=0; i<colCount; i++) { var newcell = row.insertCell(i); newcell.innerHTML = table.rows[0].cells[i].innerHTML; //alert(newcell.childNodes); switch(newcell.childNodes[0].type) { case "text": newcell.childNodes[0].value = … | |
Hi guys, Is there anyone know any library that sets an image as header and footer? I used [B]TCPDF [/B]but it doesn't for footer image. Also, [B]html2fpdf [/B]doesn't support image as header or footer at all. Any other that may work for me? Thanks in advance | |
Hi. I am trying to create a program which would tell me the connection between some equipments in a network. For a example a connection between Switch1 and Switch10. I know that the path from Switch1 to Switch10 goes through some patches and other switches and these switches and patches … | |
Hi, I have a problem duplicate entry in same time. I am getting some parameters in other gateway (some websites) and stored in Database. I trim all parameters. Before i store in db, i check db whether that record already exist or not. Other Gateway website which they send three … | |
I'm new to AJAX, PHP, and Javascript and I'm trying to learn more about them by setting up a user login for a website. I've gotten it working but there are a few problems I'm having trouble solving. Right now the login works, but I'd like to check if the … | |
Hi, All I would like my user to click on My Account link, with the help of some PHP magic i would like to determine which access level a user has and direct them accordingly to the right my account page. In total I have 3 types of users outlined … | |
I am attempting to write a script that when a user selects a radio button it will redirect to the approriate script. but it keeps going to only one page and theat is my p5modify ....what am I doing wrong [CODE] <?php session_start(); if (session_id() != $_SESSION["userid"]) { $_SESSION['unerror'] = … | |
I'm a newb at web programming. Ugh, this is making me crazy! I've been programming it all day. I need expert's help. Please help me guys!! I've been trying to make a Sign Up filter and insert to database code. The code first checks if the username inputted in the … ![]() | |
Hi All, I have been working with the framework from the following tutorial [url]http://www.phpro.org/tutorials/Model-View-Controller-MVC.html[/url] Im struggling to get it to connect to a database using the pdo method. Can anybody advise as to how I can get the database connection up and running? Im not a newbie by a long … | |
My site is broken into three different categories (which are stored on 3 separate tables) and I am looking at creating a functionality to let a user upload photos. Ideally, I would like the following to happen: [LIST=1][*]A user is viewing a single retail store on the site, for example … | |
User clicks on a url, ie: example.com/AEQ438J When I perform this in the code below: [CODE] $referrer = $_GET['_url']; // echo $referrer displays the referrer ID contents correctly as "AEQ438J" if ( ! empty($referrer)) { $mysqli->query("UPDATE coming_soon_emails SET clicks = clicks + 1 WHERE code='" . $referrer ."'"); } // … | |
Hello ,, How are U ?? I have a problem in creat RSS Sitemap I need it for Arabic .. first I added English threads , its appear without any problem but when I added Arabic threads All of its disappeared !! Just the title appear in Arabic Now this … |
The End.