39,402 Topics
![]() | |
Safari browser will not accept my cookie it is ignoring it? have I done something wrong with how the cookie is presented for safari??? The cookie I try to set: setcookie('peg', 'YES', 'time()+190', '', 0); Also all browsers are starting my phpsession off when its not even declared until after … | |
hello every one, i have a problem to execute the second SQL query, its working fine on my local machine and when i uploaded it to the server but suddenly stoped functioning and keep showing error on the numRows after the query in line 213, any suggestion will be appreciated[code]<?php … | |
So I have a problem. On my site I have a Facebook Likebox the problem is when I run the Firefox extension Page Speed, I am told that the Facebook images that are loading with the Likebox (mostly 50x50 images of avatars of people that already like my company and … | |
Basically what I'm doing is an if.then.else and depending on a value in the DB it's supposed to load one page or another. Right now I have it kluged together with a submit button but I'd like it to load automatically. This PHP script sits alone with no HTML output, … | |
Hi all, can someone help me here - I ave a regisration script where I am uploading an image to mysql, The problem im having at the moment is this..... The script creates a new folder by using the mysql_last_id function as shown below - The problem im having is … | |
Hi experts, i developed javascript code that connects to ms acess database 2003. Everything work fine as it can insert,update and delete information from database. But my problem is that when i try to validate all my input text so as to ensure that my user must fill all the … ![]() | |
I'm just starting with PHP and I was given a rather difficult task. I need to search through multiple XML files in different directories, then return the name of the files that contain a given search input. Will it be easier to write a script that reads all XML files … | |
I wrote this code because I wanted the members of my volunteer organization go have a place they could easily get the most current list of email addresses to send a message. This code reads the names and addresses from the database, and creates a comma delimited list of addresses … | |
Hi all, thanks for reading my post ) My name is Yuriy Horobey, I am developing web for more than 10 years. There are some same geeks like me arround me, so I am forming my company, registering it and searching for partners. What do we offer? -- Full cycle … | |
Hey guys, Back again, I needed to ask two very quick questions: Number 1: In a login form,how do you make sure that the user doesnt type their username or password in Caps? Number 2: How do you display error messages after the user has tried to login with the … | |
hello .. there is a weird problem in a website that im developing.. the problem is i cant a call external javascript if its located in a folder.. but if i put that in the directory where the index.php is located also i am able to call the javascript.. sample … | |
Hi all I'm trying to learn php by myself I got as far as creating my first data base and table using the following code: [code=php]$con = mysql_connect("localhost","root",""); if (!$con) { die('Could not conect: '.mysql_error()); } //Create database if (mysql_query("CREATE DATABASE FATBYTES",$con)) { echo "Database created"; } else { echo … | |
Hi Guys, I got a problem with updating images in mysql database wih php form. It succesfully inserted the images into the database, but it can't do any updates/changse on the existing image record. Thanks [CODE] <? session_start(); include("database.php"); include("login.php"); $pro_id = $_POST['pro_id']; $pro_name = $_POST['pro_name']; $pro_cat = $_POST['pro_cat']; $pro_desc … | |
i have been having this error massage tying to do certain registration on Nigeria army website [url]www.nigeriaarmyms.org[/url], and i keep on getting this massage: "you have an error in your SQL syntax; check the manual that corresponds to your mySQL server version for the syntax to use near 'AZEEZ', surname= … | |
hello.... my current url is [CODE] categories_name.php?cname=at&t rewritten url like this. carriers/at&t this is htaccess url. RewriteRule ^carriers/(.*)$ categories_name.php?cname=$1 [L][/CODE] above url is working for all like [CODE]categories_name.php?cname=all-tel[/CODE] when variable has '&' symbol then problem occuring. so how to write htaccess url? | |
Can anyone please assist how to retrieve data for dropdown menu from database. I have dropdown menu in mysettings.php of login script v2. The array i am using retrieves the all contents from the database for selected dropdown menu but it does not retrieve the specific saved data selection (dropdown … | |
Hello I was helping a fellow daniwebber and I noticed that I have no idea if it is possible and how the syntax works for it. Any help appreciated. example of how I think it works. [CODE] function retTrue(){ return true; } //code in if if(retTrue()){ //do some php } … | |
Hi guys, We have a custom-written online invoicing system, written in PHP. Right now, it generates an HTML invoice (with CSS etc) and sends that to the clients as an HTML mail, but since a lot of mail clients regard it as spam, disable functionality and images, or just completely … | |
Hello there, As described in my thread's title.. Here's the situation: On this CRM I am currently developing to migrate a desktop CRM. I have planned to separate the database for my core and still use the current desktop CRM database to prevent any more file size increase the CRM … ![]() | |
i need to upload images in imagegallery throuhg plugin in '/wp-content/images' folder. for that i need to set this path in 'Miscellaneous Settings' given in wordpress. if i give '/wp-content/images' there, all the images i upload in wordpress will be going tho this folder.. otherwise if i give the option … | |
Hi, It is kind of difficult to explain what I am trying to do here, I will provide the form here to give a better idea. <ul> <li>Select the type of your starting point of interest:<br/> <div id="start_menu"><form action="test_getrss.php" name="form1" method="post"> <span><input type="radio" value="Apartment" name="start" onclick="check(document.form1.start)"/> Apartment </span> <span><input type="radio" … | |
Hello friends, I have a stupid problem, I can't find example or tutorial "How to embed mpp in HTML", so... Can anyone give me an example or code for this ? Thanks. | |
I have created a recordset to show the top 5 values in a database - this is then displayed as an include on a few pages. Is it possible to refresh these results every few seconds without having to refresh all of the page? | |
Hi Everyone, i have a query regarding checkboxes. i have got a 'check all' checkbox on my form but what i need is to uncheck all if the check all is not checked This is the check all script [CODE]function checkAll(field) { for (i = 0; i < field.length; i++) … | |
Hi, im sort of trying to insert an array value as an argument, illustrated in the following code: [code] for($j=0;$j<count($number);$j++) { <input type='text' size='1' name='inputno' id='inputno$j' onchange='check_input(this.value, (i wanna get the value of $j here) )'>"; } [/code] any idea? thank you | |
hi, in the below code i have made a variable $htmll, in my php file.In dat var i have stored the html code,in dat html code im writing some php code which in unable to execute....Kindly help me out to resolve it. Thanx.... [code=php] <?php $htmll=' <table align="centre" border="1" cellpadding="0" … ![]() | |
So when I plan to set up a register form on my site I need to know how to automatically assign an ID to the user once they press the 'Register' button. I guess I would be using this type of table setup; Table name: Users ID int 11 Email … | |
I create my code on my own machine and tested it on my own machine and everything worked perfectly fine but as soon as I uploaded it to my server it seems to have stopped working. None of the code has been changed except for the database user, pass and … | |
hai all, i am working on shopping cart project, i need globalpay integration . i got the sample code and run in my localhost it shows me error this.[QUOTE]Warning: SoapClient::__construct() [function.SoapClient---construct]: I/O warning : failed to load external entity "https://certapia.globalpay.com/GlobalPay/transact.asmx?WSDL" in C:\wamp\www\exampls\PHP Web Service Sample (Credit Card) 4.0.0\PHP Web Service … | |
I have a really big problem. I'm using a joomla platform to make a website and I cannot install any form module (something about synchronization)so I have to make the script from scratch. I created a form article with the action welcome.php, the question: where do i put the welcome.php … | |
Hello everybody, I have to edit joomla left panel contents but didn't find code. how would do this? i chk administrator part where i cant change/add links. But not found code other than "<jdoc:include type="modules" name="left" style="rounded" />" in index file. somebody help me out !! | |
Hello. I'm wondering if anyone has knowledge or a code that will refresh a script without a full page load. Just a widget/box on a site. What I have is a script which displays random posts in wordpress. Just calls 5 posts from the database with a simple random call. … ![]() | |
Download.php not working.. i was just making a download.php file which accepts the song_id from the url and fetch it from database.. example: download.php?id=111 this will download the song with id=111 from the database.. but the song is not being downloaded.. no response just blank screen. the details i am … | |
So I recently made a website, and I have two questions I need answering. The first is I have a form with multiple things in it (text fields, checkboxes and buttons). Now I want the form to check if the checkbox has been checked or not, and I have come … ![]() | |
So, I have 2-3 php scripts that I run as crons calling them using wget: [I]/usr/bin/wget -o /dev/null [url]http://example.com/cronrss.php[/url][/I] These files (cronrss.php) are getting copied in the example.com directory every time the cron runs, every new file having a new number (/home/example/cronrss.php1, ...cronrss.php2 etc) So, what could be the reason … | |
I'm trying to use php to validate my form. I would like to validate a product_name box for being not empty, a price box for being numeric and having a decimal, and a quantity box for being an integer. Right now I'm getting an error: Parse error: syntax error, unexpected … | |
hi i am coder i am selling games and code it simple of my work saifhallaq.freehostia.com that simple new ; casino[U]s[/U] fixed forums added max bet fixed casino faxed hard to rank not like all games 1day u have the last rank i can add new codes if you want … | |
Hi, I have never use CMS before and want to learn. For a beginner, do you think Joomla would be easy for me to learn or Drupal? Thanks | |
DOES ANYONE KNOW A WORKING PLUG IN FOR WORDPRESS SIDE BAR ALTERNATING WITH DIFFERENT PAGE AND/OR POST? I FOUND IN THE SOME WORDPRESS SITE, BUT ANY OF THEN WORK PROPERLY, I TRIED TO CHANGE THE FUCNTION.PHP BUT STILL REMAINS THE THE SAME SIDEBAR... THANKS [CODE]<?php if ( function_exists('register_sidebar') ) register_sidebar(array('name'=>'sidebar1', … | |
Hi, i am having a problem with a form where a user can enter there birthday when they register. In the database it does not show up, it only shows the default value 0000-00-00. I am using month, date and year in the form and i am wondering is there … | |
hi guys! i need ur help because im noob at web programming.well.. i would like to insert formatted text (html) in the mysql database and retrive it to a page. do i have to save text with all tags? what is the best way to do that? example: i hav … | |
Hi .......... I attached screen shot with this thread. is this possible for calculating these two values and display the same page. This values retrieve from database. ![]() | |
Hi, Yesterday I downloadet and installed wamp, it worked quite fine most of it. I could put it on Offline and online mode if I wanted to, but when I tested my php page on the localhost by typing [url]http://localhost/index.php[/url] in the adress bar it would get directed to wamp's … ![]() | |
Hi, Is this structure correct guys because I get this error message "Fatal error: Class doL contains 2 abstract methods and must therefore be declared abstract or implement the remaining methods (AbstractData......." Thanks in advance [code] abstract class AbstractDatabase{ ... Some function ... abstract public function setLogin(); abstract protected function … | |
please list down [B]5 basic things about joomla [/B]such as: 1) joomla installation works for single site (is it true?) :-O 2) we can easily modify structure of a site as a modules. what ohters thing to keep in mind about joomla ???? | |
Hi all, i have m y search setup which brings back a part number, a description and then underneath any associated manufacturers name and part number which could range from 1 to 20, my problem is i just want to populate my table if there is something there and if … | |
Hello All, I am a new Ajax learner... i am trying to do one simple script to handle the following.. Adding, deletion and modification of records in one mysql table using php and Ajax. I have created following code so far... if anyone could lead me to a better simple … | |
hie.. i want to need the process and requirment for integrating API of google checkout with php code? i dont have to make something sell. but want to hire labour and for that user has to make payment , but there are option such as buy now etc option can … | |
I have a "while loop" on a PHP page with stuff coming from a DB, how do I make that the content should come as a table with a few row and columns? | |
Hello, I have this inquiry form. I wish to capture the fields and email via php script. Can anyone help me in doing that? It uses html text field, select and textarea form elements.. In select name I wish to capture and email the option selected. <form action="#" method="get" name="form1"> … |
The End.