39,320 Topics
| |
Hey, I have a .htaccess file but I wanted to know if you can make the file check if a directory exists and if it does go to there and ignore the commands... such as ROOTURL/category/page/ this changed the URL to index.php?cat=$&page=$ but say I put in ROOTURL/dan/ and that … | |
I'm trying to populate the city select box based on the selected state (which is also a select box) using Ajax. When i select state, the city select box is not being populated. There are 5 models below: Student, MerryParent, MerryClass, State, City. All of them are related to one … | |
Hi, I'm new here. i have a problem with forms, i have forms divided in sections, 3 forms in total. 1st for general information, 2nd for company information and the 3rd one for finance information. i want to save all information in database only when 3rd form is filled, i … | |
I need some help regarding pagination. whenever i searched for a record, the pagination doesnt work but it still show the results. here are my codes index.php [CODE] <html> <head> <title>Paginating Your Data with AJAX and Awesome PHP Pagination Class</title> <form action="index.php" method="post" name="searchdb" id="searchdb"> <table> <tr> <td><tr> <input type="text" … | |
i need help in adding $data into datatable data.setvalue where will be used to generate column chart. first column = x-axis while the rest of the columns = elements. thanks in advance. [CODE] <?php $result=mssql_fetch_array($row); // $result already in correct structure. $data = json_encode($result); ?> <html> <head> <script type="text/javascript" src="https://www.google.com/jsapi"></script> … | |
Alright, so I have been o this for quite sometime. I am building a Facebook application with Wordpress and have a question. I have the app integrated into my fanpage and that works fine. The only problem is, whenever a user clicks a page inside the iFrame, it should be … | |
| OK a lot of developers out there use CMS to design their clients' websites. Among them wordpress seems to rank amongst the top five and I can totally see why. This thread is for all the useful resources you know of using wordpress. I'll start this one off. An absolute … |
Hi All! I'm apparently doing something very wrong here... I can't get my soap client to send the security certificate which a valid .pem file and because of that the subsequent calls are failing. What do I have to do to get the soap client to send the pem file? … | |
I am a VB.net programer and I am very new to PHP HTML and Java Scripts I am doing a project for my company using PHP HTML and Java Scripts and I want to Know how to make readonly a text box after it gets the input This text box … | |
Can you all tell me the difference in these 2 codes? I'm trying to learn JQuery and ive seen this code below in the tutorials. [CODE] $DB->Query("Select * FROM time"); [/CODE] I'm use to coding queries like this. [CODE] $res = mysql_query("SELECT timestamp, name FROM time ORDER BY timestamp DESC"); … | |
Hi, I'm new to PHP, but not to computer programming. I'm trying to connect to ny MySQL database and thought I followed what the tutorial said exactly. Obviously not. I realize that this is an error indicating a missing control character, but I have no clue as to what it … | |
[CODE]Hi all... I'm making a php interface to start, stop and control a program running on a windows pc. At the moment I can start it with [CODE="php"]pclose(popen('start c:\users\server\mtaserver.exe',"r"));[/CODE] and stop it with [CODE="php"]pclose(popen('taskkill /F /IM mtaserver.exe',"r"));[/CODE] both of which use windows tools to operate, they then get killed allowing … | |
Let's say this is an unknown error, possibly a syntax error, possibly an HTML error - I can't be sure. Hey there, I'm a PHP expert, but not so well with JQuery - I'm just starting out with JS in general. I have a PHP based site I am working … | |
hi all, IN my web site Users can put comments, Administrartor can view them and give permistion to print or not. problem is when user put comments with out braking the lines. then comment will be printed in a single line and it wil jumble the format of the site. … | |
I am reading a book and I am in a chapter where it shows how you can create web forms using php. The problem is that I am getting confused by this switching of the code. I give you an example : [CODE] <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” … | |
I have table B that has reference to table A. I need to insert value to table B's foreign key. How to do it using PHP? Do I need to use mysql_insert_id()? | |
Hi, I have an app on cake php that, when user logs in on mydomain.com, it should be redirected to user.mydomain.com. However, the session variables are not being passed. How do i pass the session information from the main domain to the subdomain? The session is stored in mysql db. … | |
Hi, I have a folder structure as follows, D(drive)>xampp>htdocs>A>B>C>D I have the php file which creates the new folder in folder A. Every time a new person registers on my site, I want to create new folder and sub folder within folder D, like D(drive)>xampp>htdocs>A>B>C>D>E>F [CODE] $logPath = 'D:/xampp/htdocs/A/B/C/D/'; mkdir("B/C/D/".$E."/".$F); … | |
[B]How do I get the value of a node with XPath?[/B] Get all nodes which have a price above 35 [COLOR="Green"]/bookstore/book[price>35.00][/COLOR] But when I change the > to an = for equals, the query fails. Please help. By the way I'm using php, but that shouldn't matter as XPath is … | |
Okay so I've searched just about everywhere but can't seem to find what I'm looking for. I'm learning as I go with PHP and I'm having a problem figuring out what is wrong. I've got two different queries calling a group of information. Within each query is a field that … | |
hi all, for example. this is my mysql query result. A | B | C --------- a1| a2| a3 b1| b2| b3 c1| c2| c3 d1| d2| d3 i want to print the result like columnwise as following. a2|b2|c2|d2 Any suggestions please.... | |
please hw to solve below problem? Warning: Cannot modify header information - headers already sent by (output started at /home/trojalk/public_html/includes/header.html:14) in /home/trojalk/public_html/includes/careers.html on line 15 Warning: Cannot modify header information - headers already sent by (output started at /home/trojalk/public_html/includes/header.html:14) in /home/trojalk/public_html/includes/careers.html on line 16 Warning: Cannot modify header information - … | |
How can i select a data (any location) from Google map and also i want to store that data in database in order to list that contents in another page... Please provide me the idea,explanation and code.. Thanks | |
Does anyone know if there's a function in php that will allow me to convert a string into an image? | |
I don't what is wrong but there's an error [B]Error: Incorrect date value: '' for column 'DateBirth' at row 1[/B] I searched for answers but there seems nothing wrong with my code. I used date as datatype for date of birth. my php script. [CODE] <?php $m = $_POST["month"]; $d … | |
Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\xampplite\htdocs\online\test2.php on line 27 | |
Good Afternoon, I'm almost done, but something is wrong. I have 19k records that I need to sort through in an array, but I can't figure out how to get the in between records. This works just fine: [CODE]$filterData = array( 'product_id' => array('lteq' => 6000) ); [/CODE] This doesn't: … | |
Hi Frendz, I have datetime field in database. now i want to filter out the record which are in today date using mysql query? | |
Hello, i want to paint somthing its meen that replace <?php $var = "hello"; ?> to somthing like: <?php [COLOR="red"]$var[/COLOR] = [COLOR="Green"]"hello"[/COLOR]; ?> i dont want to use hightlight_string i need other function thanks | |
"! > = " wrong not more the same as? ex: 4 not more the same as 9 thx's |
The End.