Forums Page 36
-
Filename like the user name
I am creating a form and storing the values in file. Could anyone please tell me how to write a code in php for creating a filename based on the user…
-
PHP switch function help
Hi, I am trying to create a search function for a directory website. On the search function on html page I have a dropdown menu. From this you can…
-
Error with login script
I am getting an error with my login script: Error: Code: Warning: Cannot modify header information - headers already sent by (output started at…
-
Search with relational database
Hey, I have quite a complicated (for me anyway ) relational database for an apartments system I am developing. Keith (kickstart) was very helpful…
-
Logic question
im wondering what's the best method to do the above list: it is for alliance @ MMORPG game -the administrator of alliance have 10 slots for creating…
-
Fatal error: Call to a member function fetchrow() on a non-object in C:xamppht
okay i have this query and everytime i add `item_id`=? to it... it gives me the error in the title... Code: $query = $db->execute("select * from…
- Advertisement
-
php unable to sent email
Hi, guys, I try to send a email through php but unfortunately the mail unable to sent. Here is my code, any configuration that I need to change in…
-
list files from folder, only one for each date
I have many files in a folder and wish to only list one of each date these are the file names. date format (dd/mm/yyy) abc - 12-01-2009…
-
Multiple while loops
I have several DB queries that I know should be returning results and aren't. I have a feeling it has to do with the several while loops that should…
-
PHP, Arrays & A Lot Of Confusion
I've been doing basic PHP work on sites for a few years now, but I've never been tempted to learn how the ARRAY function worked, nor in what…
-
A problem with my GD class
Hello, I created a nice (and simple for now) GD class. The problem is , it works great on wamp, but not in my hostgator acount ( Linux )i tried it on…
-
Problem executing bash script using shell_exec
Hi there, I created a bash script file using following code to convert doc documents to pdf using OpenOffice macros. *************************…
-
RTF fomatting to email content
Im trying to sen an email with content is picked up from a rtf-file (file_get_contents('*.rtf'). Mail is sent correctly, but the formatting of the…
-
Array help
Hello i got this code to fetch data from database but it is not working it displays 7 Array Array Array Array Array Array Code: if…
- Advertisement
-
Multi language - seo links
Im trying to figure out the best method to have a multi language website that will function with seo friendly links. The code that ive used many…
-
onClick='location.href=index.htm'> not working
Below is my code: echo "<input type='button' value='redirect' onClick='location.href=index.htm'>"; what is wrong with the code?? it's not…
-
unserialize help, getting errors
hi all , I got a form with 6 fields (2 input and 4 select box), when the page loads one block is shown and through javascript all the fields can be…
-
array ...
hi Code: function formatCategories($categories, $parentId) { // $navCat stores all children categories // of $parentId $navCat = array(); // expand…
-
strtotime issue
Hey all, I'm playing around with some code, and basically the idea is: Person changes their profileI fetch some XML that has a unix timestamp for the…
-
in php, link returns to the line
When I add a link in a php page, the link word returns to the line (as a would do) Example: <a href="#">like</a></td>…