39,326 Topics
| |
Why do i only see the status whether online or offline, another can not see it meaning that it can not, but i'm offline for others but for me i'm online ? [code]$time = time()+300; $user = $_SESSION['logged']; $query = mysql_query("UPDATE users SET status='$time' WHERE username='$user'") or die (mysql_error()); $query1 … | |
Hello, I'm creating a very simple time attendance management system. Just a quick one where you can login just your code and it will store to mysql by reference of time. My question is. Currently I only have one table which is "LOGIN" only.... since this is a time attendance … | |
Hey friends i just wanna know how can we change the url like if i have a index page now i want to include the login page on click to a link now the url should be index.php?action=login | |
Hi everybody. I have 2 selects tag. first select is country list. when user choses favorite country then the second select tag get new contents. I can make this with javascript but I wanna make this just with php and without any scripts! This is possible make this without any … | |
Hey guys. I've been searching and searching but none of the information I get makes any sense. I have a simple problem. On my checkout page, I allow my customers to select a charity to donate to. I can't however figure out how to get the information from which checkbox … | |
I am trying to pass values for Array through PHP but i cant get to make work! Some one please help here is the code i tried [CODE]<?php $masterkeylist11 = file_get_contents('http://domain.com.com/full/forbidden/finalkeys.txt'); $myvar = array($masterkeylist11); echo $myvar[3]; ?> [/CODE] The in file contents of finalkeys.txt [CODE]googlecom,yahoocom,bingcom,rediffcom,ebaycom,googleus,googleca,[/CODE] Some one please tell me … | |
Hii Respected Forum members can anyone solve my problem what i want content restriction based on user role and sidebar category based on user Role i have three type of user role Beginner,Intermediate and Advance... Beginner Role: Can Read only seff Blog Intermediate: can Read self and Beginner Blog Advance … | |
hi m using php n mysql m trying to merge two tables of same database and then print them but somehow it is not working it gives me the error my code is [CODE]<?php session_start(); print_r($_POST); $con=mysql_connect("localhost","root",""); mysql_select_db("pras2",$con); $date= $_POST['date']; $shift_num=$_POST['num']; $query="SELECT shift_id FROM shift WHERE shift_no='$shift_num' AND date='$date'"; $result=mysql_query($query); … | |
Hey Guys, I'm looking for the best way to model my noSql Database to allow for user notifications and activity stream. what would the flow to something like this be? I don't want to annoy the user with 1000 notifications if they don't need that. Activities and Notifications will include, … | |
Hello Every One ! How to show md5() password from MySql table in PHP, I have saved my user's password as , [CODE]$password = md5($_POST['password']); $save = mysql_query("INSERT into users(password) VALUES ($password)");[/CODE] Its encrypting nice and works fine when user logs in , that's not a problem, my question is … | |
| Hey I currently have a demo shopping cart , it works great . the user can add whatever items they want to it. However now i want to add just the bookId's , quantity and price to my sql table to simulate an order taking place. the shopping cart code … |
I want to invert my array, can I do this? :( :( | |
hi m facing same problem from 2,3 days i m too confused now. i m making an application. when i take data from from dont know why it doesnot reach the other page as print_r($_POST) is empty my code of both files are" [CODE]<?php $con=mysql_connect("localhost","root",""); mysql_select_db("pras2"); ?> <!DOCTYPE html PUBLIC … | |
your suggestions will be highly apreciated... | |
Hello, On my way down a long road to develop a web form for a local sports league. Upon form submission, on my process.php page, I am trying to tally up each of the player's highlights throughout the match form. [URL="http://radmedia.org/EWMSa.jpg"]http://radmedia.org/EWMSa.jpg[/URL] Right now I have code which works, but I … | |
I'm running the following code in PHP to generate the random list of movies from the database but since value of genere is an array it is just capturing the first value of the array. How can I modify the query so that I can get all the values of … | |
haii... I have written the code for a social networking site like orkut in php but due to guidelines given by my project guide i need to convert this code to j2EE is it possible??? i am new to j2EE can some one plzz tell me a site to learn … | |
Currently I'm reading XML attributes in the following way, this is the feed.php file that is called by the index page. [CODE]<?php for ($start < $end) { $xml=$_POST['q']; $xmlDoc = new DOMDocument(); $xmlDoc->load($xml); $i = $xmlDoc->getElementsByTagNameNS('http://search.yahoo.com/mrss/','thumbnail'); $image = $i->item($start)->getAttribute('url'); echo "<img src='$image'></img>"; $start++; } ?> [/CODE] Where $start and $end … | |
| Hey everyone. I am working on a website for a friend and I have finished designing the website and have now started developing it. What I am trying to do but am having problems with is making a menu that uses two tables in the database. [b]menu[/b] and [b]menuPerms[/b]. Below … |
Hello, since i am new to the forum please excuse me if the topic is not in the correct section. I would like to ask how to do the next thing i mean when you have a limit on who is online and who does not say 30 users are … | |
good day; please spare some of your precious time with me, i'm really having a hard time to analyze this. my problem is how to evaluate two dates if it is not the same date. the first date is the actualdate [CODE]$actualTime = date ('d M Y @ H:i:s', $time+28800);[/CODE] … | |
| Hi all, i have a piece of code that selects some data from a database and displays the results in a table. I am trying to edit the code to allow me to email the table to a an address entered, but am having difficulties, can anyone offer any advice? … |
Hello I'm looking to allow users upload pictures onto my site and have it displayed and linked to their site.. This process is for Ad purposes. Ive looked into php mysql uploading images but ive ran into a lot of threads condemning the practice and suggesting saving the images to … | |
Hi, i'm doing an app to manage a music school and i'm inserting instruments and i have to create the program (what do you learn) of the instrument. I'm doing a RichTextBox. Now i have some problems: 1st - is to save what i write in the richtextbox in a … | |
Hello all; I need a hand. this forum has solved a bunch of my issues and I have another doosie on my hand. I have some ajax code that I query information from database in table form. I am trying to add an image link into the table, once it … | |
i want to design a blog. can u plz help me do it? | |
Hello all . I use this code roughly to call some php code then run it in an html container. [CODE] function getVote(int) { if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 … | |
I have been asked to develop a Reporting System for an English Class as part of an assignment for Uni. I have two tables [LIST] [*]Students [*]English [/LIST] the data going into the grading system are [LIST] [*]Exam Mark [*]Exam Comment [*]Coursework Mark [*]Coursework Comment [*]Poetry [*]Creative Writing [*]English Literature … | |
Hey, I don't know if this is the right section, but there's no HTAccess section, so I'll just put it here. Anyways, I'd like to make one of those signatures that gets the IP of the person and then makes and image out of it with the IP. I think … | |
I really need someone to help me on the scenario below. I fetch all the rows in a database table with the mysql_fetch_array() and it was successful. I placed a button on each row in order to click and take the user to another page. On click of the button, … |
The End.