Community Center
Member Avatar

THIS IS A DISCUSSION THREAD NOT Q&A. PLEASE SHARE YOUR THOUGHTS AND IDEAS.

I am planning on making a website which mainly will be driven by community users, mods, and …

Web Development
Member Avatar

I need your suggestion on something. I want to display a 'message notification' on my menu bar. I want it to be like the Facebook message notification. When I have …

Web Development
Member Avatar

I need your suggestion on something. I want to display a 'message notification' on my menu bar. I want it to be like the Facebook message notification. When I have …

Topic by uchejava

it is not really so simple and requires a bit of php and jquery knowledge to pull this off perfectly.

here is two way you can di this, one is …

Web Development
Member Avatar

Hello.
There is an html table in admin page, with head columns (POST ID | POST TITLE | POST AUTHOR | ACTION).
And in each row, will contain a post …

Topic by Niloofar24

also should not you use html form

<input type='submit' name='submit' value='Delete'" .$row['ID']. ">

how are you submitting it, are you using ajax and jquery??

as +lps mentioned, you should use …

Web Development
Member Avatar

Hello.
There is an html table in admin page, with head columns (POST ID | POST TITLE | POST AUTHOR | ACTION).
And in each row, will contain a post …

Web Development
Member Avatar

Hello.
There is an html table in admin page, with head columns (POST ID | POST TITLE | POST AUTHOR | ACTION).
And in each row, will contain a post …

Topic by Niloofar24

there is some problem with your script

        $conn = new PDO("mysql:host=$servername;dbname=$dbname", $dbusername, $dbpassword

specially how are you using $servername and $dbname inside quote!! shouldn't it be:

$conn = new PDO("mysql:host=".$servername.";dbname=".$dbname, …
Web Development
Member Avatar

hi, i want ajax to be called only once, but insted it calls everytime when i click on the button.
my script:

$(document).ready(function(){
  $("#modal-launcher-user").click(function(){
$('#preloader_image_edit').show();      

$.ajax({

  url: "image_edit.php",
  cache: false, …
Topic by Eagle.Avik

thnx :)

Web Development
Member Avatar

hi, i want ajax to be called only once, but insted it calls everytime when i click on the button.
my script:

$(document).ready(function(){
  $("#modal-launcher-user").click(function(){
$('#preloader_image_edit').show();      

$.ajax({

  url: "image_edit.php",
  cache: false, …
Web Development
Member Avatar

hi, i want ajax to be called only once, but insted it calls everytime when i click on the button.
my script:

$(document).ready(function(){
  $("#modal-launcher-user").click(function(){
$('#preloader_image_edit').show();      

$.ajax({

  url: "image_edit.php",
  cache: false, …
Web Development
Member Avatar

hi, i want ajax to be called only once, but insted it calls everytime when i click on the button.
my script:

$(document).ready(function(){
  $("#modal-launcher-user").click(function(){
$('#preloader_image_edit').show();      

$.ajax({

  url: "image_edit.php",
  cache: false, …
Web Development
Member Avatar

my form has an option where user can choose to fill but should that option be choose then the form will will submit to two tables if not chosen the …

Topic by SirMahlon

You really should not use $_REQUEST, Use $_POST instead.
Where is national health var. There is a lot of variable where you register request data but which one is for …

php
Web Development
Member Avatar

hi want my user to upload images to my server. There is a lot of security risks i am aware of, like:

  1. client side validation is not a good …
Topic by Eagle.Avik

i have modified the script again, this time i also allow user to crop the images themselves with js, and the user do not crop the image the script will …

Web Development
Member Avatar

Is there a secure PHP encryption on which NSA hasn't put or isn't able to put in future of 20 years it's hands on?

php
Web Development
Member Avatar

Is there a secure PHP encryption on which NSA hasn't put or isn't able to put in future of 20 years it's hands on?

Topic by RikTelner

NSA is everywhere, if they want to steal they will, they are the government afterall. You are thinking about encryption!
Lol they even steal from gmail's high secure encrypted data. …

php
Web Development
Member Avatar

my form has an option where user can choose to fill but should that option be choose then the form will will submit to two tables if not chosen the …

Topic by SirMahlon

Okay so let me get this straight, i just read your code, there you added if ($result) so you want the second query to run only if the first one …

php
Web Development
Member Avatar

hello Dany web friends
how to use cookies session in php, how to insert cookie in database table to rember user,
i would like to rember what page a user …

php
Web Development
Member Avatar

hello Dany web friends
how to use cookies session in php, how to insert cookie in database table to rember user,
i would like to rember what page a user …

Topic by chrisschristou

> can you please write with my code???

what?????? it is like:

hey i cant build a house, will you build one for me :P

just google about cookie and …

php
Web Development
Member Avatar

Hey everyone,

I have a question about how to dynamically change a link based on the current page. Sort of like the "breadcrumb" feature in wordpress. However I don't want …

Web Development
Member Avatar

Hey everyone,

I have a question about how to dynamically change a link based on the current page. Sort of like the "breadcrumb" feature in wordpress. However I don't want …

Topic by geneh23

to get url like www.test.come/home or www.test.come/about here is what you need to do.

first create a folderin the main directory, and renamed it home now the url for this …

Web Development
Member Avatar

my form has an option where user can choose to fill but should that option be choose then the form will will submit to two tables if not chosen the …

php
Web Development
Member Avatar

my form has an option where user can choose to fill but should that option be choose then the form will will submit to two tables if not chosen the …

Topic by SirMahlon

> my form has an option where us
>
> should that option be choose then the form will will submit to two tables if not chosen the one table …

php
Web Development
Member Avatar

hello
can i have featured content slider dynamilcally???
if yes thn how???

Web Development
Member Avatar

hello
can i have featured content slider dynamilcally???
if yes thn how???

Topic by hriti

@hriti

> i want to get image,thumnail and content from database

what do you mean by this??

if you store image url in the database, then you can fetch it. …

Web Development
Member Avatar

hi want my user to upload images to my server. There is a lot of security risks i am aware of, like:

  1. client side validation is not a good …
Topic by Eagle.Avik

well here is my code using gd, i have to rewrite a new script.
dont know if it is safe enough, what do you think is there any security gaps? …

Web Development
Member Avatar

hi, as the title says, i want to resize and preview image before i submit it to my server. it is because of reducing load to my server and also …

Topic by Eagle.Avik

hello! is there anyone who can help me????

Web Development
Member Avatar

hi want my user to upload images to my server. There is a lot of security risks i am aware of, like:

  1. client side validation is not a good …
Topic by Eagle.Avik

i think i dont have imagick installed. i searched a bit and found that i have gd library installed as default which does the same. can you use gd instead …

Web Development
Member Avatar

hi, as the title says, i want to resize and preview image before i submit it to my server. it is because of reducing load to my server and also …

Web Development
Member Avatar

hi, as the title says, i want to resize and preview image before i submit it to my server. it is because of reducing load to my server and also …

Web Development
Member Avatar

I need suggestion for my Final Year Project(Web programming)!

php
Web Development
Member Avatar

I need suggestion for my Final Year Project(Web programming)!

Topic by erum.saeed.75

hi erum.saeed.75, dont you have anything to start with???? just create what you like..... it does not have to be the next great project like something, wordpress. :) gd luck.

php