39,320 Topics

Member Avatar for
Member Avatar for prasadssaitwal

<?php function getlink($x) { $y=$x.'.php'; return($y); } $a=array('0','1','2','3','4'); for($i=0;$i<5;$i++) { echo '<li><a href='.getlink($a[$i]).'>'.$a[$i].'</li>'; } echo '<iframe src="">'; ?> when i click on the links instead of new tab it should be open in iframe

Member Avatar for veedeoo
0
385
Member Avatar for furlanut

I have added 3 radio buttons to a form (no errors prior to this) for option to sort fetch_array result by field. I assume this is best done from the array but am making no progress - the results of $name,print_r($array) and tables are correct but no sorting. This Notice …

Member Avatar for diafol
0
142
Member Avatar for PhilEaton

I am new to python web frameworks. I am using web.py because I like how raw it is. I am wondering though, how one can produce pages and scripts efficiently when being restricted to sending output through the return keyword? It seems like for any python module you can only …

Member Avatar for Gribouillis
0
240
Member Avatar for GraficRegret

I have adjusted a lot of the code that I posted earlier but nothing seems to work, I put in the code to show all errors and I am not getting any errors returened after I fixed the single minor misstype of adding an extra "(" into the code, i …

Member Avatar for GraficRegret
0
161
Member Avatar for bornie21

Hie guys. I want to create a LAN web based application that allows a user to login and change their current Windows Active Directory password or login name. Much like the Powershell scripts but I was looking to implement using PHP over the LAN. Any ideas?

Member Avatar for diafol
0
155
Member Avatar for firdousahmad
Member Avatar for GraficRegret

I found a tutorial on how to build a php events calendar and this tutorial uses a mixture of php, Ajax and Javascript to form the calendar, everything works properly and displays well, up to the point of actually pulling up and displaying the events details which are pulled from …

0
98
Member Avatar for Karry.Stewart

I have a datagrid which is successfully loading a database in my .PHP page that loads Title, Location, and Date. I have struck up, struggling to allow only 8 records at a time with a pagination. Also a link has to be created for 1st column where it links the …

Member Avatar for diafol
0
169
Member Avatar for mehnihma

I am new to php and mysql I want to crate a query that does the update or adds a new table if it is not in database. I get on else for echo: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home2/public_html/shop/dokumenti/up2.php on line 53 …

Member Avatar for mehnihma
0
297
Member Avatar for OldDeveloper01

Hey if anyone could help me out, that would be superb. It is probably something simple but i am always getting undefined index messages. This is the latest example. [B]Notice: Undefined index: savebtn in C:\xampp\htdocs\practice\editprofile.php on line 20[/B] And this is the php. [CODE] if ($username){ require ("scripts/connect.php"); if ($_POST['savebtn']){ …

Member Avatar for pzuurveen
0
1K
Member Avatar for daniel36

I need to send email from my local server.I lisent that it is possible through gmail server.can anybody tell me how can i send email from my local server throurgh gmail.I have searched on google and did not get appropriate answer.Thank you in advance.

Member Avatar for daniel36
0
108
Member Avatar for lttleastig

I used this script to load the page but instead of loading the page it saved it as an .xls file header("Content-type: application/vnd.ms-excel"); header("Content-Disposition: attachment; filename=Sched.xls"); // Fix for crappy IE bug in download. header("Pragma: "); header("Cache-Control: "); Works no problem on my pc server running xampp>apache but when i …

Member Avatar for lttleastig
0
187
Member Avatar for Fiorentino01^

Hi, I have a site under construction.It is not on line yet and I don't have a domain name yet. I test it with IIS 7 and works fine.Now I need a form to collect inmformation from visitors.The information should be sent to me by email. I looked at various …

Member Avatar for moneeshot
0
231
Member Avatar for alex.p.kcx

Hi, With resources on the internet I have created two versions of a login page :- one with mysql_fetch_object and the other without it. I would like to understand which approach is a better and why. Following is the code with mysql_fetch_object :- <?php session_start(); include "dbconnect.php"; if(isset($_GET["op"]) == "login") …

Member Avatar for broj1
0
371
Member Avatar for onofej

hello everyone, i have read through other post but could not resolve my issues. i need someone to see to my code. i am trying mysql_real_escape_string for my datas. but the one without it can insert properly while the one with the mysql_escape does not. from my code, i am …

Member Avatar for onofej
0
107
Member Avatar for GraficRegret

well here I go again it is probobly a minor mistake that I am missing, however I am having issues getting the 'description' that I have entered into my database to show up inside the div when the 'details' button is clicked, to follow are each page of code allong …

Member Avatar for GraficRegret
0
142
Member Avatar for jayreis

I am trying to send an email via php with an attchment. Before anyone suggests using pear or swiftmailer I am aware of all of them but have a host who refuses to install any of them on my clients hosting account. So I am stuck with writing this function …

Member Avatar for jayreis
0
266
Member Avatar for GraficRegret

ok I have a login form that works and checks but I can just pout in the url to go to a specific page inside of the website I am designing and get into it without logging in, how can I remedy this? I have gone through many tutorials and …

Member Avatar for GraficRegret
0
267
Member Avatar for itsmeurdude

help please!!! i have installed xampp v3.1.0.3.1.0 it seems that my apache is not really working everytime i click once apache it turns yellow then says 9:39:44 PM [Apache] Status change detected: stopped 9:39:44 PM [Apache] Error: Apache shutdown unexpectedly. 9:39:44 PM [Apache] This may be due to a blocked …

Member Avatar for veedeoo
0
379
Member Avatar for sarithak

Hi friends, I am struggle from last coup[le of days with this error. Error: `Forbidden You don't have permission to access /reports.php on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.` I tried to solve this by searching …

Member Avatar for veedeoo
0
143
Member Avatar for jacob.tonna.58

script in file 1 <?php // Check if he wants to register // - Make sure that param exists // - Check length if (isset($_POST['username']) && strlen($_POST['username']) > 0) { // Check if passwords match. // - Make sure that params exist // - Check length // - Check matching …

Member Avatar for simplypixie
0
375
Member Avatar for RaeesIqbal

I am a traniee yet, and I've been working out on this code to let a member change his password using $_POST method, but i am missing something and i cant find out what it is, any quick help will be very appriciated. This is the page for form using …

Member Avatar for simplypixie
0
233
Member Avatar for showman13

Good Morning... I am running into an issue trying to run a table rebuilding script that I wrote, and I'm wondering if it is due to including a script that also includes itself multiple times, depending upon the results generated by the script itself... That may sound a bit confusing, …

Member Avatar for showman13
0
372
Member Avatar for Martin C++

Hello, I would like to know how to output potentally thousands of posts with pages. So that i can choose how many posts to display on a page and the ones that wont fit will note be generated there. instead on the bottom of the page there will appear links …

Member Avatar for rfrapp
0
85
Member Avatar for ushajase

Hi, i want to create recent blog view, so i need to set Link dispaly into my recent blog view.

Member Avatar for ushajase
0
139
Member Avatar for Navlag

Hello everyone, I have a PHP form that connects to an oracle DB and should send data to the database when the form is submitted, but I can't figure out why it's not loading any of the data into the database, everything seems to be correct (though this is my …

Member Avatar for LastMitch
0
2K
Member Avatar for cssweb

hello guys how are you, i have an inquire about how can i put the adress if my adress contains php it is the link which i want to put <link>shownews.php?full=news&id_topic=$row->id_topic</link> here is my code <?php header('Content-Type: application/xml'); mysql_connect('localhost','root','root'); mysql_select_db('ahmad'); echo '<?xml version="1.0" encoding="utf-8"?>'?> <rss version="2.0"> <channel> <title>my articles</title> <description>News,social,media</description> …

Member Avatar for Atli
0
233
Member Avatar for pjh1985

Hi, I have been trying to create a login facility using PHP/mySQL and so far I have managed to get everything working apart from changing/updating the stored user password. The code I have used is basically just the registration script with a few changes so that it will update a …

Member Avatar for aareyes00
0
5K
Member Avatar for thebloodycoon

I read several topics similar to what I'm asking, but none of them seemed to be very helpful to me. I have a form where users can generate codes that are stored in a column with a Unique constraint. The codes are strings with length of 7 characters. The users …

Member Avatar for ddymacek
0
143
Member Avatar for kishoresai438

Hi friends, i want to redirection script for `www.xxxx.com/abc/` to `www.xxxx.com/` my website saved in **abc** folder. first i set the permenent redirection in Cpanel from `xxx.com` to `xxx.com/abc`. but i want to display onley website name..dont want to display folder. Now, i am using this code.. but not working... …

Member Avatar for Dani
0
108

The End.