Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Need Help!Urgent-saves some data in php

Featured Replies

I want to save data in mysql database.all datas are saved successfullly,but when any user register the account, option box details(male or female)not save in table .link of my client site is

http://lphosting.cjb.net/joomla1/index.php

 

 

.I want your help.I am currently working in joomla and not know much about it.please help me .data is under..

http://hotfile.com/dl/93765403/e7f34e7/registration.rar.html

 

 

details are attached...

i want to insert data in table named jos_js_job_userroles with 1 for male and 2 for female.

The download link of files are as:

http://hotfile.com/dl/93765403/e7f34e7/registration.rar.html

 

please edit under this file...(registration)

post-24039-0-99295100-1294008268_thumb.png

Edited by HACKERSMIND

You could do with posting your entire code to be sure. Is no value at all going into the gender column?

  • Author

yes..no value is going through gender option !

 

i was already attached the file.Please find here!

yes..no value is going through gender option !

 

i was already attached the file.Please find here!

 

I did look at the attached files.

 

However, I just looked again....

 

See line 736 in controller.php:

 

	"\n SET gender=$gender" . 

 

Try this

"\n SET gender='$gender'" . 

 

Let me know if that works

  • Author

Not working !!

 

if you want, i will upload the whole joomla folder ,please help....:)

I'm not familiar with joomla. Where do you define the $gender variable? In your html, the value for gender is 1 for male and 2 for female. Are you trying to put a 1 or 2 into your database?

 

Also - what format is the gender column in your database?

In default.php line 145 - you need to remove the " after checked.

 

Where is the index.php file from your login page?

Edited by mrsminkie

  • Author

I'm not familiar with joomla. Where do you define the $gender variable? In your html, the value for gender is 1 for male and 2 for female. Are you trying to put a 1 or 2 into your database?

 

Also - what format is the gender column in your database?

 

Gender value is store in form of int .1 for male and 2 for female.

You're gonna have to give me a bit more to go on.. The index.php file?

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.