39,320 Topics
| |
When I insert a new event into the table, I serialize almost all the data except a few fields I needed to keep separate. Here is what my serialization looks like in the database: The field this data is stored in is called host_array: [CODE] a:16:{s:5:"sport";s:8:"football";s:14:"tournamentname";s:21:"Grid Iron Challenge 2";s:11:"sanctioning";s:7:"Testing";s:4:"age1";s:2:"15";s:4:"age2";s:2:"16";s:4:"cost";s:3:"450";s:5:"sdate";s:10:"2010-03-05";s:5:"edate";s:10:"2010-03-10";s:5:"tcity";s:5:"Wayne";s:6:"tstate";s:2:"MI";s:5:"games";s:1:"5";s:13:"teamsaccepted";s:2:"15";s:16:"pslteamsaccepted";s:1:"5";s:6:"hotels";s:6:"Hotels";s:7:"details";s:7:"Details";s:6:"button";s:8:"Continue";} [/CODE] … | |
I have developed a website, where i have 2 access levels, users and admin. on the server, i have admin folder with all admin stuff and user folder with all user stuff. based on the username,password combination from login page, i am redirecting the user to appropriate location. Everything is … | |
What books or tutorial (online/downloadable) shall i learn to be able to make secure page? I need to know different technique and algorithms | |
I've been looking at incorporating a wysiwig editor in my PHP pages like tinyedit or iRite. Something very much like the box I'm entering this message in, it would have the ability to let the user add links, underlines, bold, etc into blog posts and comments. However, does this necessarily … | |
Hi, I wonder if someone can advise. My website has been working great ever since i first launched it. I made a script months ago to notify me of errors like 404, 500 etc and so on and it works perfectly. Two days ago someone accessed my website and they … | |
Under what circumstances would you look to exclude pages from search engines using robots.txt vs meta robots tag? | |
Very simple code, I even echo the variables to make sure they are comming through: [PHP]<? include 'config.php'; $recordid = $_POST['recordid']; $im=$_POST['im']; $bm=$_POST['bm']; $peachtree=$_POST['peachtree']; $canapprove=$_POST['canapprove']; $cancomment=$_POST['cancomment']; $canclose=$_POST['canclose']; $administrator=$_POST['administrator']; echo $im; echo $bm; echo $peachtree; echo $canapprove; echo $cancommnet; echo $canclose; echo $administrator; echo "<p>"; $result = mysql_query("UPDATE employees SET im='$im', … | |
Hi folks, having a bit of bother trying to post my values to another page using radio buttons. I have an exisiting form that I wanted to add the below code to. The form currently posts comments however I want it to post ratings of DVD's on the site. The … | |
I have a string- 3,3,2,2,3,3,3,2,3 - Is it possible to explode it by length, such as: 1-> [3,3,2] 2-> [2,3,3] 3-> [3,2,3] | |
how to get the username given in login page in the next page | |
Dear all, I want to debug PHP script easily like VB IDE. Is there any free PHP editor to which I can use ? Thanks. | |
Hi, i am using the Plugin Content Bookmarker downloaded from [url]http://dev.aarthikaindia.com/downloads/[/url] ... ugins.html for my site. Some of the Articles are able to Bookmark like if i click on the Bookmark (twitter) , it directly bookmarks in Twitter with Some description of the Article where some of the Articles are … | |
Hello to all, I want to know the difference between SQL and MySQL. Also, please post links if anyone have links related to this question. | |
Hi, I have a PHP application that stores sales transactions into database tables, etc - and we have decided to use this as an online service - which makes it great for the client. They aren't computer literate and their computers mysteriously die and disappear. Having off-site data and no … | |
Hi php masters.. i manage to use an ajax combobox to shows bus fares and destination on my site and it works great in xampp.. problem start when i tried to upload the site to my host server (linux).. the combobox contains 4 .php scripts and 1 .js script there … | |
Hi - here is my code - it is for searching what i have done as u can see is - for every results the CP_ID is hyperlinked and opens up to the edit page. but no value gets passed. what i want is when a search result appears i … | |
Okay, so I'm making a RPG PHP text-based game. I have admins, but I' having trouble with coming up with new admin tools that will be available. I'm asking the gamers part of Daniweb to help me come up with new admin tools that will be useful and effective. I'm … | |
| |
Ok, so here is my problem. I'm making a telephone registry that lets a user add information such as first/last name, address, zipcode, state, and telephone number. Then they save the contact. Which seems to be where my problem is. The contact is saved and their information is posted. A … | |
Hi I am a newbie in PHP.I need to dynamically create check box based on the value in the combobox.Is AJAX the only solution?How do i get the value of check box?Thanks in advance.Pls help me out. | |
hi there do you know if it is possible to select data from a comma separated file? i need only name and message from this and show it in plain html or css number$sex$state$name$surname$zip$street$city$e-mail$ip$message$ there are many lines in the csv | |
| Hi all I'm trying to built a function which will check if a given url and linktext exists on another given webpage. This is what I've done so far using regular expressions: [CODE] function islinking($linkurl,$linktext,$clienturl) { $curl = curl_init($linkurl); curl_setopt($curl, CURLOPT_HEADER, 0); curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); $file = curl_exec($curl); curl_close($curl); $s=0; … |
Hello everyone. I have a php webpage, where there are textforms, dropdown lists and stuff. There is Activity field in the database. Whatever activities that i do on the webpage, like modifying the text in the textbox, or changing a value for a dropdown list, these need to be automatically … | |
My Dear Friends, Can anybody tell me how to use Web Services using PHP? I want to do following things in my website: 1. I want to use RSS feed in my website. 2. Want to display latest news from other sites who are providing this facility. 3. Want to … | |
I have checkboxes with an amount as values. Can someone help on how to fine the total of checkbox values and sent to an email using php? | |
mysql trigger if new row inserted into that tabe... php need to popup that values in php... can u please advise me... | |
i am new to php. can any one give some idea to do this. i am having some users in the backend like superadmin,admin, user. now the thing is that whenever i login as a superadmin i could see everyone profile. Already i am logging in as a super admin … | |
I am receiving the following error message on my home page: Parse error: syntax error, unexpected T_VARIABLE in /home/prospec7/public_html/index.php on line 1 And the following code -- I apologize for it being tough to read, but I am a complete novice and this is how it shows up in my … | |
hi, i was designing comment page on php the when i press post button it shows fatal error: like this Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 8192 bytes) in C:\Program Files\VertrigoServ\www\pro\post.php on line 1 please help thanks. | |
we have a windows server we are working on a new website. so far what i want is: the url looks like: [url]www.example.com/name/name/?lang=english[/url] how can it be rewritten to: [url]www.example.com/en/name/name/[/url] is there a way it might not be possible to do? |
The End.