39,316 Topics

Member Avatar for
Member Avatar for hamedx

Hi, after reading the good topics and contents on disaster to resolve the problems in recent years finally its my chance to signup :) and be the one to ask: im working on a cms (not exactly) and stuck on menus and permissions. im wondering is there anyway the cms …

Member Avatar for Robert1995
0
97
Member Avatar for ashiiiish
Member Avatar for ashiiiish
0
86
Member Avatar for ashiiiish

How to disable the like link after it has been clicked ??? My Code echo "<a href=like.php?id=$pid>like($plike)</a>";

Member Avatar for ashiiiish
0
155
Member Avatar for Aardwolf

How does this work? <?php echo '<script type="text/javascript"> var str='.include("engine.php").'; var str_esc=escape(str); document.write(str_esc) </script>'; ?> What this script should do in my point of view outcome is to escape the whole page so the source page is not viewing the html and everything, rather then the escaped characters. this won't …

Member Avatar for almostbob
0
83
Member Avatar for rathishcr89

hi am new for php.. am trying a download a csv file.. i need to create a new file after every 50 records.. 0.062201000014461.0002771700. 0.062201000014480.0000000000. 0.062201000014723.0005133400. 0.062201000015828.0005848000. 0.062201000015927.0003018200. this is the sample output. i need to split the output file so the each file should contain 50 records. <?php include("conn.inc"); …

Member Avatar for pritaeas
0
65
Member Avatar for Mariel Pineda

When I press the save button it wont update the row if i make some changes. whats wrong with my code can you please help mee. What is lacking or what do i need to put . Thanks for who will answer I will really appreciate it. include("connect.php"); $code =$_GET['Code']; …

Member Avatar for broj1
0
102
Member Avatar for Chuckleluck

Hello, Please excuse me if this isn't the correct place to post this topic. I have a friend that knows PHP, and I know C++. We want to make a PC game together. I would handle making the core game, and he would use PHP to create a server, allow …

Member Avatar for cereal
0
223
Member Avatar for DarkMonarch

yup still a jr, at least for the next 6 months, than ill be a medium jr LOL... alright, seriously, i need this thing done, so if you guys have any hints, pointers, would be appreciated. it's probly not complicated for you guys, but i'm trying to write a language …

Member Avatar for DarkMonarch
0
96
Member Avatar for danielsikes

Hi. I am trying to perform a "process of elimination" type of search using MySql. I have a table with a lot of values that people could search for- and currently if they search for 1 value it works great. But if they search for lets say "value1 value2" it …

Member Avatar for mehfooz
0
176
Member Avatar for roscoNI

I am trying to create a website where a user can enter a start location and an end location into textbox's and the distance between the two location shall be output into another textbox (This is done using a google API). On my webpage I have set up several instances …

0
123
Member Avatar for jacob21

Hi, I am working on video player module. I am trying to add dynamic video links & description.Its working fine. the problem is when i am playing a video,video list become readonly. Need suggestion <!doctype html> <html> <head> <title>Video Player Application</title> <link rel="shortcut icon" href="/media/favicon.png"> <!-- standalone page styling. can …

Member Avatar for veedeoo
0
224
Member Avatar for mbarandao

Hello, I have a strange occurence when trying to execute the following sql: if($select_232 == 'Member Credit' && $paymenttype == 'Visa' || $paymenttype == 'Cash' || $paymenttype == 'Check' || $paymenttype == 'Master Card' || $paymenttype == 'Discover' || $paymenttype == 'Amex' || $paymenttype == 'Other') { $result = mysql_query("UPDATE …

Member Avatar for mbarandao
0
173
Member Avatar for vizz

CREATE TABLE IF NOT EXISTS `users` ( `ID` mediumint(9) NOT NULL AUTO_INCREMENT, `username` varchar(60) DEFAULT NULL, `password` varchar(60) DEFAULT NULL, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ; CREATE TABLE IF NOT EXISTS `chatmessage` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `from` varchar(250) NOT NULL, `to` varchar(250) NOT NULL, `message` …

Member Avatar for vizz
0
290
Member Avatar for pulse0

I want the user to type in his a user name and depending if it is taken on not i want the code to tell if it is available or not without submitting. You guys must have noticed how google populates the search results without even submitting your query, i …

Member Avatar for pulse0
0
104
Member Avatar for BenzZz

Hi, As the title states, within my files require_once is not working as intended. I have a file where a user enters booking details and at the top it requires once the file to create the database and insert initial data into it. The problem is it seems to be …

Member Avatar for broj1
0
141
Member Avatar for harintfs

Dear I would like to set session expire time to 3hrs, Which one is best ? `ini_set("session.cookie_lifetime","10800");` or `session_set_cookie_params(3600 * 3);` Or can I use both? And one more, Is it compulsary to place every page b4 where ever session_start() Thanks. Pls help me.

Member Avatar for harintfs
0
178
Member Avatar for gotboots

Hi all, I was wondering if it is a common thing to do when requesting variables to have the request names in an array and use a for loop to request the submitted variables. (will it hold the values if its a for loop?) What i have at present is …

Member Avatar for gotboots
0
634
Member Avatar for gotboots

Hi there, I have recently been looking into encryption, for MySQL and php, to figure out someway to encrypt the information in the database, or more to the point before it goes in, or decrypted when it comes out. What I'd like to happen is for the info submitted from …

Member Avatar for gotboots
0
205
Member Avatar for laura301019

ive got a webpage that has a login page, it displays the 3 users name and then gives the fields to login. When the user logs in they get to vote for 3 people to be 1st 2nd and 3rd. I have to change the following code so that on …

0
60
Member Avatar for guidely

Hi, This is part hotel managment system but we want to create new feature where we can edit room type but this is not my code but it my program because I cant contact programmer so end up need to do my self, so got problem where cant update Here …

Member Avatar for Biiim
0
755
Member Avatar for AirmanTheGreat

Hi, I'm writing a simple page for University. I need it to basically just echo user input from a text box back onto the screen. Here is the code I have so far: Code blocks are created by indenting at least 4 spaces ... and can span multiple lines <!DOCTYPE …

Member Avatar for AirmanTheGreat
0
132
Member Avatar for cr7489

hi, i am trying to write a method that looks for the word 'not' before another word and these words i.e being positive or negative are stored in my database so for example this is not good, the problem im having is getting the word from my DB to be …

Member Avatar for cr7489
0
180
Member Avatar for jpadgett230

Hello! What I am trying to do is assign the values from a mysql query and store them in an array. I have some code that queries the DB by using SHOW COLUMNS. I then loop through dynamically assigning the name of the DB field to input fields of a …

Member Avatar for jpadgett230
1
218
Member Avatar for eltonpiko

hi im trying to accomplish something is there a php script that already do this that i can buy or downloap for free. were user can login and get a personal calader they enter detail in the calander for each day and in the back admin the administrator can view …

Member Avatar for Biiim
0
184
Member Avatar for javedsai

Hi everyone, I recently transferred my host from other host provider to blue host. In my code there is logic, when user updates property (Basically, its a real estate website) then, it creates/write xml file in media/xmlfeeds folder. Earlier, on previous host it was working absolutely fine but, after transfer …

Member Avatar for javedsai
0
144
Member Avatar for ask,dziner

hello all, i m new in php, i try to get text text box value in checkbox when i insert the data in the field if when check box is checked and then that checbox value store in database and i also need to show that if that checkbox value …

Member Avatar for Biiim
0
188
Member Avatar for breakzzzz20

Hey Guy's,anyone has a working codes of my problem? moving row data table to another table using php/mysql sorry guy's for this cause i'm very noob on this php/mysql language any help would be appreciated(i'm reallly badly need your help)

Member Avatar for vibhaJ
0
2K
Member Avatar for mohamedasif18

Hi all, i have a table like below Id Names 1 Sanjay, Anu, Rock 2 Mohamed, Asif, Selva, Manoj, Booker T 3 Jerrico, Cena 4 Amala How do i select MAX LENGTH OF STRING from column in the table, I need the result like, 2 Mohamed, Asif, Selva, Manoj, Booker …

Member Avatar for mohamedasif18
0
205
Member Avatar for antonioazevedo

Hi, I have this nice function to truncate a string with HTML. It's very good only now I ran into a problem. There are cases where for example The input will be this: `<a href="some url">this is a link</a>` and what I want to output is exactly the same, even …

Member Avatar for diafol
0
2K
Member Avatar for bjeffries

I am having a bit of an issue with centering images within an image rotator. The rotator is a php/jquery rotator, its very simple. the issue I am having is getting the images to be absolute middle. I have tried what seems to be everything I know, but I am …

Member Avatar for bjeffries
0
168

The End.